install/schemas/mysql_stage2.sql
changeset 406 7468a663315f
parent 401 6ae6e387a0e3
child 410 9db359d6e60c
equal deleted inserted replaced
405:adb7f8de8ce1 406:7468a663315f
   104   user_lang smallint(5) NOT NULL DEFAULT 1,
   104   user_lang smallint(5) NOT NULL DEFAULT 1,
   105   user_has_avatar tinyint(1) NOT NULL DEFAULT 0,
   105   user_has_avatar tinyint(1) NOT NULL DEFAULT 0,
   106   avatar_type ENUM('jpg', 'png', 'gif') NOT NULL DEFAULT 'png',
   106   avatar_type ENUM('jpg', 'png', 'gif') NOT NULL DEFAULT 'png',
   107   user_registration_ip varchar(39),
   107   user_registration_ip varchar(39),
   108   user_rank int(12) UNSIGNED NOT NULL DEFAULT 1,
   108   user_rank int(12) UNSIGNED NOT NULL DEFAULT 1,
       
   109   user_timezone int(12) UNSIGNED NOT NULL DEFAULT 0,
   109   PRIMARY KEY  (user_id)
   110   PRIMARY KEY  (user_id)
   110 ) CHARACTER SET `utf8` COLLATE `utf8_bin`;
   111 ) CHARACTER SET `utf8` COLLATE `utf8_bin`;
   111 
   112 
   112 CREATE TABLE {{TABLE_PREFIX}}users_extra(
   113 CREATE TABLE {{TABLE_PREFIX}}users_extra(
   113   user_id mediumint(8) NOT NULL,
   114   user_id mediumint(8) NOT NULL,