diff --git a/config/material.sql b/config/material.sql index 2421cbc..df0138e 100644 --- a/config/material.sql +++ b/config/material.sql @@ -2,6 +2,7 @@ -- insert into `recipe` values(null, 'cocktail', 'content') -- 재료테이블 -- 재료테이블 + INSERT INTO `material` VALUES(1, '보드카'); diff --git a/config/product.sql b/config/product.sql index f7f6516..eca6757 100644 --- a/config/product.sql +++ b/config/product.sql @@ -1,4 +1,5 @@ -- 제품 테이블 + INSERT INTO `product` VALUES(NULL, '보드카', '앱솔루트'); diff --git a/config/query.sql b/config/query.sql index d339646..85930ff 100644 --- a/config/query.sql +++ b/config/query.sql @@ -19,7 +19,7 @@ create table `post` ( PRIMARY KEY (`id`) ); -create table `like` ( +create table `liked` ( `id` bigint NOT NULL AUTO_INCREMENT, `postId` bigint NOT NULL, `userId` bigint NOT NULL,