mirror of https://github.com/rocboss/paopao-ce
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
417 B
10 lines
417 B
3 years ago
|
-- ----------------------------
|
||
|
-- Table p_post alter add visibility column
|
||
|
-- ----------------------------
|
||
|
ALTER TABLE `p_post` ADD COLUMN `visibility` tinyint unsigned NOT NULL DEFAULT '0' COMMENT '可见性 0公开 1私密 2好友可见';
|
||
|
|
||
|
-- ----------------------------
|
||
|
-- Indexes structure for table p_post
|
||
|
-- ----------------------------
|
||
|
CREATE INDEX `idx_visibility` ON `p_post` ( `visibility` ) USING BTREE;
|