Skip to content

Commit

Permalink
#16 db like query edit
Browse files Browse the repository at this point in the history
  • Loading branch information
AYoungSn committed Dec 6, 2021
1 parent 0588f5a commit 6cf9e70
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions config/material.sql
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
-- insert into `recipe` values(null, 'cocktail', 'content')
-- 재료테이블
-- 재료테이블

INSERT INTO `material`
VALUES(1, '보드카');

Expand Down
1 change: 1 addition & 0 deletions config/product.sql
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
-- 제품 테이블

INSERT INTO `product`
VALUES(NULL, '보드카', '앱솔루트');

Expand Down
2 changes: 1 addition & 1 deletion config/query.sql
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 6cf9e70

Please sign in to comment.