install/schemas/upgrade/1.1.1-1.1.2-mysql.sql
changeset 497 ecb636490702
parent 494 6c78cc456091
child 788 ac081c826715
equal deleted inserted replaced
496:449b042ea6b0 497:ecb636490702
     3 
     3 
     4 ALTER TABLE {{TABLE_PREFIX}}logs ADD COLUMN log_id int(15) NOT NULL auto_increment, ADD PRIMARY KEY ( log_id );
     4 ALTER TABLE {{TABLE_PREFIX}}logs ADD COLUMN log_id int(15) NOT NULL auto_increment, ADD PRIMARY KEY ( log_id );
     5 ALTER TABLE {{TABLE_PREFIX}}logs ADD COLUMN is_draft tinyint(1) NOT NULL DEFAULT 0;
     5 ALTER TABLE {{TABLE_PREFIX}}logs ADD COLUMN is_draft tinyint(1) NOT NULL DEFAULT 0;
     6 
     6 
     7 ALTER TABLE {{TABLE_PREFIX}}users ADD COLUMN user_rank int(12) UNSIGNED NOT NULL DEFAULT 1;
     7 ALTER TABLE {{TABLE_PREFIX}}users ADD COLUMN user_rank int(12) UNSIGNED NOT NULL DEFAULT 1;
     8 @ALTER TABLE {{TABLE_PREFIX}}users ADD COLUMN user_timezone int(12) UNSIGNED NOT NULL DEFAULT 0;
     8 ALTER TABLE {{TABLE_PREFIX}}users ADD COLUMN user_timezone int(12) UNSIGNED NOT NULL DEFAULT 0;
     9 
     9 
    10 ALTER TABLE {{TABLE_PREFIX}}tags CHANGE user user_id mediumint(8) NOT NULL DEFAULT 1;
    10 ALTER TABLE {{TABLE_PREFIX}}tags CHANGE user user_id mediumint(8) NOT NULL DEFAULT 1;
    11 ALTER TABLE {{TABLE_PREFIX}}themes
    11 ALTER TABLE {{TABLE_PREFIX}}themes
    12   ADD COLUMN group_list text DEFAULT NULL,
    12   ADD COLUMN group_list text DEFAULT NULL,
    13   ADD COLUMN group_policy ENUM('allow', 'deny') NOT NULL DEFAULT 'deny';
    13   ADD COLUMN group_policy ENUM('allow', 'deny') NOT NULL DEFAULT 'deny';