Remove the posts.privacy column
This commit is contained in:
@@ -102,7 +102,6 @@ CREATE TABLE IF NOT EXISTS `posts` (
|
||||
`text_appearance` char(4) NOT NULL DEFAULT 'norm',
|
||||
`language` char(2) DEFAULT NULL,
|
||||
`rtl` tinyint(1) DEFAULT NULL,
|
||||
`privacy` tinyint(1) NOT NULL,
|
||||
`owner_id` int(6) DEFAULT NULL,
|
||||
`collection_id` int(6) DEFAULT NULL,
|
||||
`pinned_position` tinyint(1) DEFAULT NULL,
|
||||
@@ -114,8 +113,6 @@ CREATE TABLE IF NOT EXISTS `posts` (
|
||||
PRIMARY KEY (`id`),
|
||||
CONSTRAINT `id_slug` UNIQUE (`collection_id`,`slug`),
|
||||
CONSTRAINT `owner_id` UNIQUE (`owner_id`,`id`)
|
||||
-- FIXME: this is KEY `privacy_id` (`privacy`,`id`) in mysql
|
||||
-- CONSTRAINT `privacy_id` (`privacy`,`id`)
|
||||
);
|
||||
|
||||
-- --------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user