diff options
Diffstat (limited to 'install/database.sql')
-rw-r--r-- | install/database.sql | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/install/database.sql b/install/database.sql index 2f92167c8..ce46149c4 100644 --- a/install/database.sql +++ b/install/database.sql @@ -408,7 +408,6 @@ CREATE TABLE IF NOT EXISTS `item` ( `mid` char(255) CHARACTER SET ascii NOT NULL DEFAULT '', `aid` int(10) unsigned NOT NULL DEFAULT '0', `uid` int(10) unsigned NOT NULL DEFAULT '0', - `wall` tinyint(1) NOT NULL DEFAULT '0', `parent` int(10) unsigned NOT NULL DEFAULT '0', `parent_mid` char(255) CHARACTER SET ascii NOT NULL DEFAULT '', `thr_parent` char(255) NOT NULL DEFAULT '', @@ -431,6 +430,7 @@ CREATE TABLE IF NOT EXISTS `item` ( `object` text NOT NULL, `tgt_type` char(255) NOT NULL DEFAULT '', `target` text NOT NULL, + `layout_mid` char(255) NOT NULL DEFAULT '', `postopts` text NOT NULL, `llink` char(255) NOT NULL DEFAULT '', `plink` char(255) NOT NULL DEFAULT '', @@ -454,7 +454,6 @@ CREATE TABLE IF NOT EXISTS `item` ( KEY `created` (`created`), KEY `edited` (`edited`), KEY `received` (`received`), - KEY `wall` (`wall`), KEY `uid_commented` (`uid`,`commented`), KEY `uid_created` (`uid`,`created`), KEY `aid` (`aid`), @@ -474,6 +473,7 @@ CREATE TABLE IF NOT EXISTS `item` ( KEY `parent_mid` (`parent_mid`), KEY `uid_mid` (`mid`,`uid`), KEY `comment_policy` (`comment_policy`), + KEY `layout_mid` (`layout_mid`), FULLTEXT KEY `title` (`title`), FULLTEXT KEY `body` (`body`), FULLTEXT KEY `allow_cid` (`allow_cid`), @@ -818,11 +818,13 @@ CREATE TABLE IF NOT EXISTS `shares` ( CREATE TABLE IF NOT EXISTS `site` ( `site_url` char(255) NOT NULL, + `site_access` int(11) NOT NULL DEFAULT '0', `site_flags` int(11) NOT NULL DEFAULT '0', `site_update` datetime NOT NULL DEFAULT '0000-00-00 00:00:00', `site_directory` char(255) NOT NULL DEFAULT '', `site_register` int(11) NOT NULL DEFAULT '0', PRIMARY KEY (`site_url`), + KEY `site_access` (`site_access`), KEY `site_flags` (`site_flags`), KEY `site_update` (`site_update`), KEY `site_directory` (`site_directory`), |