18 lines
543 B
SQL
18 lines
543 B
SQL
-- ----------------------------
|
|
-- Table structure for sys_user_post
|
|
-- ----------------------------
|
|
DROP TABLE IF EXISTS "sys_user_post";
|
|
CREATE TABLE "sys_user_post" (
|
|
"user_id" integer(20) NOT NULL,
|
|
"post_id" integer(20) NOT NULL,
|
|
PRIMARY KEY ("user_id", "post_id")
|
|
);
|
|
|
|
-- ----------------------------
|
|
-- Records of sys_user_post
|
|
-- ----------------------------
|
|
INSERT INTO "sys_user_post" VALUES (1, 1);
|
|
INSERT INTO "sys_user_post" VALUES (2, 2);
|
|
INSERT INTO "sys_user_post" VALUES (3, 3);
|
|
INSERT INTO "sys_user_post" VALUES (4, 3);
|