PDA

View Full Version : query to add field?


vBR
Mon 13th Jan '03, 5:31am
I need a query I can run in phpMyAdmin to add a new field to the moderator table.
name: cansuspenduser, default value: 0

Thanks.

Floris
Mon 13th Jan '03, 6:51am
Originally posted by vBR
I need a query I can run in phpMyAdmin to add a new field to the moderator table.
name: cansuspenduser, default value: 0

Thanks.

ALTER TABLE `moderator` ADD `cansuspenduser` SMALLINT DEFAULT '0' NOT NULL ;