The Arcive of vBulletin Modifications Site. |
|
Details »»
|
|||||||||||||||||||||||||
how do you add a new column to a database when it contains data, for the hack to work there needs to be an extra field in the user table
Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
|||
|
|||
|
bump
urgent |
|
#3
|
|||
|
|||
|
Here is the SQL statement that will add newcolumn after lastcolumn
ALTER TABLE user ADD newcolumn smallint(6) DEFAULT '1' NOT NULL AFTER lastcolumn |
![]() |
|
|