generated from pricelees/issue-pr-template
[#34] 회원 / 인증 도메인 재정의 #43
@ -88,10 +88,7 @@ create table if not exists theme (
|
||||
created_at timestamp not null,
|
||||
created_by bigint not null,
|
||||
updated_at timestamp not null,
|
||||
updated_by bigint not null,
|
||||
|
||||
constraint fk_theme__created_by foreign key (created_by) references members (member_id),
|
||||
constraint fk_theme__updated_by foreign key (updated_by) references members (member_id)
|
||||
updated_by bigint not null
|
||||
);
|
||||
|
||||
create table if not exists schedule (
|
||||
@ -106,8 +103,6 @@ create table if not exists schedule (
|
||||
updated_by bigint not null,
|
||||
|
||||
constraint uk_schedule__date_time_theme_id unique (date, time, theme_id),
|
||||
constraint fk_schedule__created_by foreign key (created_by) references members (member_id),
|
||||
constraint fk_schedule__updated_by foreign key (updated_by) references members (member_id),
|
||||
constraint fk_schedule__theme_id foreign key (theme_id) references theme (id)
|
||||
);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user