diff --git a/marlo-web/src/main/resources/database/migrations/V2_6_0_20230809_0950__AlterTableActivityTitles.sql b/marlo-web/src/main/resources/database/migrations/V2_6_0_20230809_0950__AlterTableActivityTitles.sql new file mode 100644 index 0000000000..8a3ec48562 --- /dev/null +++ b/marlo-web/src/main/resources/database/migrations/V2_6_0_20230809_0950__AlterTableActivityTitles.sql @@ -0,0 +1,4 @@ +update activities_titles set start_year= 2020, end_year=2029 where start_year is null; + +ALTER TABLE activities_titles MODIFY COLUMN start_year int DEFAULT 2020 NOT NULL; +ALTER TABLE activities_titles MODIFY COLUMN end_year int DEFAULT 2029 NOT NULL; \ No newline at end of file