From eadf26971db37dd84021538d96e351642ee8cf01 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=B5=9C=EC=A4=80=ED=9D=A0?= Date: Fri, 4 Aug 2023 10:53:03 +0900 Subject: [PATCH] shoppingmallv2 init... --- app/Database/base.sql | 2 +- app/Database/shoppingmall.sql | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Database/base.sql b/app/Database/base.sql index a7ae08d..635de37 100644 --- a/app/Database/base.sql +++ b/app/Database/base.sql @@ -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 ='게시물 정보'; \ No newline at end of file diff --git a/app/Database/shoppingmall.sql b/app/Database/shoppingmall.sql index 9c0121a..7c38c1c 100644 --- a/app/Database/shoppingmall.sql +++ b/app/Database/shoppingmall.sql @@ -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 ='게시물 정보';