install/schemas/upgrade/migration/1.0-1.1-mysql.sql
changeset 406 7468a663315f
parent 377 bb3e6c3bd4f4
child 497 ecb636490702
equal deleted inserted replaced
405:adb7f8de8ce1 406:7468a663315f
    12 
    12 
    13 ALTER TABLE {{TABLE_PREFIX}}users ADD COLUMN user_lang smallint(5) NOT NULL;
    13 ALTER TABLE {{TABLE_PREFIX}}users ADD COLUMN user_lang smallint(5) NOT NULL;
    14 ALTER TABLE {{TABLE_PREFIX}}users ADD COLUMN user_has_avatar tinyint(1) NOT NULL;
    14 ALTER TABLE {{TABLE_PREFIX}}users ADD COLUMN user_has_avatar tinyint(1) NOT NULL;
    15 ALTER TABLE {{TABLE_PREFIX}}users ADD COLUMN avatar_type ENUM('jpg', 'png', 'gif') NOT NULL;
    15 ALTER TABLE {{TABLE_PREFIX}}users ADD COLUMN avatar_type ENUM('jpg', 'png', 'gif') NOT NULL;
    16 ALTER TABLE {{TABLE_PREFIX}}users ADD COLUMN user_registration_ip varchar(39);
    16 ALTER TABLE {{TABLE_PREFIX}}users ADD COLUMN user_registration_ip varchar(39);
       
    17 ALTER TABLE {{TABLE_PREFIX}}users ADD COLUMN user_timezone int(12) NOT NULL DEFAULT 0;
    17 ALTER TABLE {{TABLE_PREFIX}}comments ADD COLUMN ip_address varchar(39);
    18 ALTER TABLE {{TABLE_PREFIX}}comments ADD COLUMN ip_address varchar(39);
    18 
    19 
    19 CREATE TABLE {{TABLE_PREFIX}}lockout(
    20 CREATE TABLE {{TABLE_PREFIX}}lockout(
    20   id int(12) NOT NULL auto_increment,
    21   id int(12) NOT NULL auto_increment,
    21   ipaddr varchar(40) NOT NULL,
    22   ipaddr varchar(40) NOT NULL,