install/schemas/upgrade/1.1.1-1.1.2-mysql.sql
changeset 413 6607cd646d6d
parent 410 9db359d6e60c
child 422 ca37fcd08c4e
equal deleted inserted replaced
412:4746dd07cc48 413:6607cd646d6d
     1 -- Enano CMS
     1 -- Enano CMS
     2 -- Upgrade schema - Enano 1.1.1 - 1.1.2
     2 -- Upgrade schema - Enano 1.1.1 - 1.1.2
     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 
     6 
     6 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,
     7                                   ADD COLUMN user_timezone int(12) UNSIGNED NOT NULL DEFAULT 0;
     8                                   ADD COLUMN user_timezone int(12) UNSIGNED NOT NULL DEFAULT 0;
     8 
     9 
     9 CREATE TABLE {{TABLE_PREFIX}}ranks(
    10 CREATE TABLE {{TABLE_PREFIX}}ranks(