-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into feat/feed-userVoteStatus
- Loading branch information
Showing
16 changed files
with
197 additions
and
142 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,3 +11,5 @@ public class ParticipantInformationDTO { | |
|
||
private String name; | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
src/main/resources/db/migration/V202311201100__change_event_schedule_time_to_date_time.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
ALTER TABLE event_schedule | ||
CHANGE COLUMN start_time start_date_time DATETIME NOT NULL, | ||
CHANGE COLUMN end_time end_date_time DATETIME NULL; |
2 changes: 2 additions & 0 deletions
2
src/main/resources/db/migration/V202311201101__update_event_schedule_time_to_date_time.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
UPDATE event_schedule SET event_schedule.start_date_time = DATE_ADD(event_date, INTERVAL TIME_TO_SEC(start_date_time) SECOND); | ||
UPDATE event_schedule SET event_schedule.end_date_time = DATE_ADD(event_date, INTERVAL TIME_TO_SEC(end_date_time) SECOND); |
14 changes: 14 additions & 0 deletions
14
src/main/resources/db/migration/V202311201124__drop_event_date_column_to_event_schedule.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
alter table event_schedule | ||
drop foreign key event_schedule_ibfk_1; # event_scheudle -> (event_id, location_id) | ||
|
||
alter table event_schedule | ||
drop key uk_event_id_start_time; | ||
|
||
alter table event_schedule | ||
drop column event_date; | ||
|
||
ALTER TABLE event_schedule | ||
ADD FOREIGN KEY event_schedule(event_id) references exhibition(exhibition_id); | ||
|
||
ALTER TABLE event_schedule | ||
ADD unique key uk_event_id_start_date_time(event_id, start_date_time); |
Oops, something went wrong.