修复 此版保证数据库不动

This commit is contained in:
Comsenz 2017-07-31 17:06:15 +08:00
parent bd637baea4
commit 14f72bfdaf
1 changed files with 26 additions and 0 deletions

View File

@ -3763,6 +3763,32 @@ CREATE TABLE pre_home_specialuser (
KEY displayorder (`status`,displayorder)
) TYPE=MyISAM;
DROP TABLE IF EXISTS pre_home_userapp;
CREATE TABLE pre_home_userapp (
uid mediumint(8) unsigned NOT NULL DEFAULT '0',
appid mediumint(8) unsigned NOT NULL DEFAULT '0',
appname varchar(60) NOT NULL DEFAULT '',
privacy tinyint(1) NOT NULL DEFAULT '0',
allowsidenav tinyint(1) NOT NULL DEFAULT '0',
allowfeed tinyint(1) NOT NULL DEFAULT '0',
allowprofilelink tinyint(1) NOT NULL DEFAULT '0',
narrow tinyint(1) NOT NULL DEFAULT '0',
menuorder smallint(6) NOT NULL DEFAULT '0',
displayorder smallint(6) NOT NULL DEFAULT '0',
KEY uid (uid,appid),
KEY menuorder (uid,menuorder),
KEY displayorder (uid,displayorder)
) TYPE=MyISAM;
DROP TABLE IF EXISTS pre_home_userappfield;
CREATE TABLE pre_home_userappfield (
uid mediumint(8) unsigned NOT NULL DEFAULT '0',
appid mediumint(8) unsigned NOT NULL DEFAULT '0',
profilelink text NOT NULL,
myml text NOT NULL,
KEY uid (uid,appid)
) TYPE=MyISAM;
DROP TABLE IF EXISTS pre_home_visitor;
CREATE TABLE pre_home_visitor (
uid mediumint(8) unsigned NOT NULL DEFAULT '0',