mirror of https://github.com/rocboss/paopao-ce
parent
087c6d26ff
commit
6f355c10b7
@ -0,0 +1,9 @@
|
||||
-- ----------------------------
|
||||
-- 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;
|
@ -0,0 +1,12 @@
|
||||
-- ----------------------------
|
||||
-- Table p_post alter add visibility column
|
||||
-- ----------------------------
|
||||
ALTER TABLE `p_post` ADD COLUMN `visibility` integer NOT NULL DEFAULT '0';
|
||||
|
||||
-- ----------------------------
|
||||
-- Indexes structure for table p_post
|
||||
-- ----------------------------
|
||||
CREATE INDEX "main"."idx_visibility"
|
||||
ON "p_post" (
|
||||
"visibility" ASC
|
||||
);
|
@ -1,4 +1,4 @@
|
||||
{
|
||||
"version": "3",
|
||||
"buildTime": "2022-06-08 23:29:43"
|
||||
"version": "8",
|
||||
"buildTime": "2022-06-13 17:16:22"
|
||||
}
|
Loading…
Reference in new issue