Skip to content

Commit

Permalink
!hotfix: V11 flyway script 수정 (#383)
Browse files Browse the repository at this point in the history
  • Loading branch information
apptie authored and swonny committed Oct 6, 2023
1 parent 9ba12dd commit 25dbb27
Showing 1 changed file with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
create table profile_image (
id bigint not null auto_increment,
store_name varchar(255),
upload_name varchar(255),
primary key (id)
id bigint not null auto_increment,
store_name varchar(255),
upload_name varchar(255),
primary key (id)
);

alter table users drop profile_image;
alter table users add profile_image_id bigint;
alter table users add constraint fk_user_profile_image foreign key (profile_image_id) references profile_image (id);

0 comments on commit 25dbb27

Please sign in to comment.