Skip to content

Commit

Permalink
Update #18 - data.sql
Browse files Browse the repository at this point in the history
삽입, 수정, 삭제 등의 테스트를 할 때는
한 페이지에 데이터가 적은 것이 보기 편함
이에 더미 데이터 주석 처리
  • Loading branch information
bmcho committed Aug 16, 2022
1 parent 33d2f8b commit 110505c
Showing 1 changed file with 20 additions and 22 deletions.
42 changes: 20 additions & 22 deletions src/main/resources/data.sql
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

insert into `place` (`place_type`, `place_name`, `address`, `phone_number`, `capacity`, `memo`)
values
('SPORTS', '서울 배드민턴장', '경기도 성남시 대왕판교로 999', '010-9999-0000', 20, '판교는 정말 체크남방셔츠 뿐인가'),
Expand All @@ -8,34 +7,33 @@ values
('PARTY', '패캠 무도회장', '서울시 강남구 가나대로 123 2층', '010-1234-5678', 1, '에블바리')
;


insert into `event` (`place_id`, `event_name`, `event_status`, `event_start_datetime`, `event_end_datetime`, `current_number_of_people`, `capacity`, `memo`)
values
(1, '운동1', 'OPENED', '2021-01-01 09:00:00', '2021-01-01 12:00:00', 0, 20, 'test memo1'),
(1, '운동2', 'OPENED', '2021-01-01 13:00:00', '2021-01-01 12:00:00', 0, 20, 'test memo2'),
(2, '행사1', 'OPENED', '2021-01-02 09:00:00', '2021-01-02 12:00:00', 0, 30, 'test memo3'),
(2, '행사2', 'OPENED', '2021-01-03 09:00:00', '2021-01-03 12:00:00', 0, 30, 'test memo4'),
(2, '행사3', 'CLOSED', '2021-01-04 09:00:00', '2021-01-04 12:00:00', 0, 30, 'test memo5'),
(2, 'test event', 'ABORTED', '2021-01-10 18:00:00', '2021-01-10 20:00:00', 0, 10, 'test'),
(2, 'test event', 'ABORTED', '2021-01-10 18:00:00', '2021-01-10 20:00:00', 0, 10, 'test'),
(2, 'test event', 'ABORTED', '2021-01-10 18:00:00', '2021-01-10 20:00:00', 0, 10, 'test'),
(2, 'test event', 'ABORTED', '2021-01-10 18:00:00', '2021-01-10 20:00:00', 0, 10, 'test'),
(2, 'test event', 'ABORTED', '2021-01-10 18:00:00', '2021-01-10 20:00:00', 0, 10, 'test'),
(2, 'test event', 'ABORTED', '2021-01-10 18:00:00', '2021-01-10 20:00:00', 0, 10, 'test'),
(2, 'test event', 'ABORTED', '2021-01-10 18:00:00', '2021-01-10 20:00:00', 0, 10, 'test'),
(2, 'test event', 'ABORTED', '2021-01-10 18:00:00', '2021-01-10 20:00:00', 0, 10, 'test'),
(2, 'test event', 'ABORTED', '2021-01-10 18:00:00', '2021-01-10 20:00:00', 0, 10, 'test'),
(2, 'test event', 'ABORTED', '2021-01-10 18:00:00', '2021-01-10 20:00:00', 0, 10, 'test'),
(2, 'test event', 'CANCELLED', '2021-01-10 18:00:00', '2021-01-10 20:00:00', 0, 10, 'test'),
(2, 'test event', 'CANCELLED', '2021-01-10 18:00:00', '2021-01-10 20:00:00', 0, 10, 'test'),
(2, 'test event', 'CANCELLED', '2021-01-10 18:00:00', '2021-01-10 20:00:00', 0, 10, 'test'),
(2, 'test event', 'CANCELLED', '2021-01-10 18:00:00', '2021-01-10 20:00:00', 0, 10, 'test'),
(2, 'test event', 'CANCELLED', '2021-01-10 18:00:00', '2021-01-10 20:00:00', 0, 10, 'test'),
(2, 'test event', 'CANCELLED', '2021-01-10 18:00:00', '2021-01-10 20:00:00', 0, 10, 'test'),
(2, 'test event', 'CANCELLED', '2021-01-10 18:00:00', '2021-01-10 20:00:00', 0, 10, 'test'),
(2, 'test event', 'CANCELLED', '2021-01-10 18:00:00', '2021-01-10 20:00:00', 0, 10, 'test'),
(2, 'test event', 'CANCELLED', '2021-01-10 18:00:00', '2021-01-10 20:00:00', 0, 10, 'test'),
(2, 'test event', 'CANCELLED', '2021-01-10 18:00:00', '2021-01-10 20:00:00', 0, 10, 'test'),
-- (2, 'test event', 'ABORTED', '2021-01-10 18:00:00', '2021-01-10 20:00:00', 0, 10, 'test'),
-- (2, 'test event', 'ABORTED', '2021-01-10 18:00:00', '2021-01-10 20:00:00', 0, 10, 'test'),
-- (2, 'test event', 'ABORTED', '2021-01-10 18:00:00', '2021-01-10 20:00:00', 0, 10, 'test'),
-- (2, 'test event', 'ABORTED', '2021-01-10 18:00:00', '2021-01-10 20:00:00', 0, 10, 'test'),
-- (2, 'test event', 'ABORTED', '2021-01-10 18:00:00', '2021-01-10 20:00:00', 0, 10, 'test'),
-- (2, 'test event', 'ABORTED', '2021-01-10 18:00:00', '2021-01-10 20:00:00', 0, 10, 'test'),
-- (2, 'test event', 'ABORTED', '2021-01-10 18:00:00', '2021-01-10 20:00:00', 0, 10, 'test'),
-- (2, 'test event', 'ABORTED', '2021-01-10 18:00:00', '2021-01-10 20:00:00', 0, 10, 'test'),
-- (2, 'test event', 'ABORTED', '2021-01-10 18:00:00', '2021-01-10 20:00:00', 0, 10, 'test'),
-- (2, 'test event', 'ABORTED', '2021-01-10 18:00:00', '2021-01-10 20:00:00', 0, 10, 'test'),
-- (2, 'test event', 'CANCELLED', '2021-01-10 18:00:00', '2021-01-10 20:00:00', 0, 10, 'test'),
-- (2, 'test event', 'CANCELLED', '2021-01-10 18:00:00', '2021-01-10 20:00:00', 0, 10, 'test'),
-- (2, 'test event', 'CANCELLED', '2021-01-10 18:00:00', '2021-01-10 20:00:00', 0, 10, 'test'),
-- (2, 'test event', 'CANCELLED', '2021-01-10 18:00:00', '2021-01-10 20:00:00', 0, 10, 'test'),
-- (2, 'test event', 'CANCELLED', '2021-01-10 18:00:00', '2021-01-10 20:00:00', 0, 10, 'test'),
-- (2, 'test event', 'CANCELLED', '2021-01-10 18:00:00', '2021-01-10 20:00:00', 0, 10, 'test'),
-- (2, 'test event', 'CANCELLED', '2021-01-10 18:00:00', '2021-01-10 20:00:00', 0, 10, 'test'),
-- (2, 'test event', 'CANCELLED', '2021-01-10 18:00:00', '2021-01-10 20:00:00', 0, 10, 'test'),
-- (2, 'test event', 'CANCELLED', '2021-01-10 18:00:00', '2021-01-10 20:00:00', 0, 10, 'test'),
-- (2, 'test event', 'CANCELLED', '2021-01-10 18:00:00', '2021-01-10 20:00:00', 0, 10, 'test'),
(3, '오전 스키', 'OPENED', '2021-02-01 08:00:00', '2021-02-01 12:30:00', 12, 50, 'test memo6')
;

Expand Down

0 comments on commit 110505c

Please sign in to comment.