Skip to content

Commit

Permalink
Hotfix/dev schema (#529)
Browse files Browse the repository at this point in the history
* hotfix: dev schema 변경된 내용 반영

* hotfix: dev schema 최신화

* hotfix: dev schema 도메인에 맞게 수정 및 prod schema 롤백
  • Loading branch information
Cyma-s authored Oct 19, 2023
1 parent e6a7cad commit dc42503
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions backend/src/main/resources/dev/schema.sql
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ drop table if exists song;
drop table if exists killing_part;
drop table if exists killing_part_like;
drop table if exists killing_part_comment;
drop table if exists voting_song_part;
drop table if exists voting_song;
drop table if exists vote;
drop table if exists member;
Expand Down Expand Up @@ -95,3 +96,14 @@ create table if not exists member_part
created_at timestamp(6) not null,
primary key (id)
);

create table if not exists member_part
(
id bigint auto_increment,
start_second integer not null,
length integer not null,
song_id bigint not null,
member_id bigint not null,
created_at timestamp(6) not null,
primary key (id)
);

0 comments on commit dc42503

Please sign in to comment.