diff --git a/backend/src/main/resources/dev/schema.sql b/backend/src/main/resources/dev/schema.sql index 47c37db8..436b0c5e 100644 --- a/backend/src/main/resources/dev/schema.sql +++ b/backend/src/main/resources/dev/schema.sql @@ -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; @@ -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) +);