Skip to content

Commit

Permalink
[Feat] data.sql 변경 - #26
Browse files Browse the repository at this point in the history
  • Loading branch information
HyemIin committed Oct 17, 2023
1 parent 3124db6 commit b4e43eb
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/main/resources/data.sql
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ VALUES ('[email protected]', 'User One', 'password1'),
-- ('[email protected]', 'User Two', 'password2', NOW(), NOW()),
-- ('[email protected]', 'User Three', 'password3', NOW(), NOW());

INSERT IGNORE INTO board (title, content, account_id)
VALUES ('게시판 제목 1', '게시판 내용 1', 1),
('게시판 제목 2', '게시판 내용 2', 2),
('게시판 제목 3', '게시판 내용 3', 3);

-- INSERT IGNORE INTO board (title, content, created_at, modified_at, account_id)
-- VALUES ('게시판 제목 1', '게시판 내용 1', NOW(), NOW(), 1),
-- ('게시판 제목 2', '게시판 내용 2', NOW(), NOW(), 2),
Expand Down

0 comments on commit b4e43eb

Please sign in to comment.