Skip to content

Commit

Permalink
chore: flyway migration script 작성
Browse files Browse the repository at this point in the history
  • Loading branch information
5uhwann committed Jan 9, 2025
1 parent f0968a7 commit 6a9411a
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
ALTER TABLE vod_processing_job
ADD file_meta_data_id BINARY(16) NULL;

ALTER TABLE vod_processing_job
ADD CONSTRAINT UK_VOD_PROCESSING_JOB_FILE_META_DATA UNIQUE (file_meta_data_id);

ALTER TABLE vod_processing_job
ADD CONSTRAINT FK_VOD_PROCESSING_JOB_FILE_META_DATA_FILE_META_DATA_ID FOREIGN KEY (file_meta_data_id) REFERENCES file_meta_data (id);

0 comments on commit 6a9411a

Please sign in to comment.