shoppingmallv2 init...

This commit is contained in:
최준흠 2023-08-04 10:53:03 +09:00
parent a01389d345
commit eadf26971d
2 changed files with 2 additions and 2 deletions

View File

@ -90,6 +90,6 @@ CREATE TABLE servermgr.tw_board (
created_at timestamp NOT NULL DEFAULT current_timestamp(),
deleted_at timestamp NULL DEFAULT NULL,
PRIMARY KEY (uid),
CONSTRAINT FOREIGN KEY (cartory_uid) REFERENCES tw_category (uid),
CONSTRAINT FOREIGN KEY (category_uid) REFERENCES tw_category (uid),
CONSTRAINT FOREIGN KEY (user_uid) REFERENCES tw_user (uid)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT ='게시물 정보';

View File

@ -58,7 +58,7 @@ CREATE TABLE shoppingmall.tw_board (
created_at timestamp NOT NULL DEFAULT current_timestamp(),
deleted_at timestamp NULL DEFAULT NULL,
PRIMARY KEY (uid),
CONSTRAINT FOREIGN KEY (cartory_uid) REFERENCES tw_category (uid),
CONSTRAINT FOREIGN KEY (category_uid) REFERENCES tw_category (uid),
CONSTRAINT FOREIGN KEY (user_uid) REFERENCES tw_user (uid)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT ='게시물 정보';