Add migrations to add fields to user and auth tables

slimupdates
Melanie 2010-01-08 18:10:59 +00:00
parent b63405c1a7
commit d14589d1ab
2 changed files with 13 additions and 0 deletions

View File

@ -0,0 +1,5 @@
BEGIN;
ALTER TABLE `auth` ADD COLUMN `accountType` VARCHAR(32) NOT NULL DEFAULT 'UserAccount';
COMMIT;

View File

@ -0,0 +1,8 @@
BEGIN;
ALTER TABLE UserAccounts ADD COLUMN UserLevel integer NOT NULL DEFAULT 0;
ALTER TABLE UserAccounts ADD COLUMN UserFlags integer NOT NULL DEFAULT 0;
ALTER TABLE UserAccounts ADD COLUMN UserTitle varchar(64) NOT NULL DEFAULT '';
COMMIT;