|
|
Joined: Nov 2003
Posts: 1
Lurker
|
Lurker
Joined: Nov 2003
Posts: 1 |
[] ALTER TABLE nuke_modules ADD mcid int(11) NOT NULL default '1'; [/]
whats the fuction of this command? and how can i deactivate this command
|
|
|
|
Joined: Aug 2002
Posts: 1,191
Kahuna
|
Kahuna
Joined: Aug 2002
Posts: 1,191 |
This command is run against your database using shell access and mysql directly or a tool like phpMyAdmin and a web interface.
It will ALTER the table nuke_modules and it will ADD the column mcid of type Integer with max length 11 digits which cannot be null and if not specified in an insert query it will always get assigned the value 1.
This command is run only by install/upgrade scripts. You either don't run it (if you are doing manually things) or alter the script that has the command.
It might fail because the field already exists.
BTW: Which part of .threads you saw that? To my knowledge there is no modules table assuming that your prefix is nuke. Is this a custom modification or an addon?
Nikos
|
|
|
|
Joined: Dec 2000
Posts: 1,471
Addict
|
Addict
Joined: Dec 2000
Posts: 1,471 |
It seems to be a post nuke query.
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 449
Joined: February 2008
|
|
Forums63
Topics37,575
Posts293,932
Members13,824
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|
|