![]() |
whats wrong with this un/install code?
i cant seem to figure out why this doesnt work..... but i keep getting the error that there is an error in my sql syntax....
If i remove IF EXISTS then i get the error that the column doesnt exist (because it doesnt yet) how do i fix this.... ive read through some sql stuff but nothing i tried fixed it. INSTALL CODE $db->query_write("ALTER TABLE user ADD timeonboard INT(10) NOT NULL AFTER lastactivity") ; UNINSTALL CODE $db->query_write("ALTER TABLE user DROP IF EXISTS timeonboard"); |
You can't actually "DROP IF EXISTS" IIRC. It just doesn't exist.
|
All times are GMT. The time now is 04:45 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|