Skip to content

Commit

Permalink
Update server/main-api/migrations/20240703163202_more_complete_calend…
Browse files Browse the repository at this point in the history
…ar.up.sql
  • Loading branch information
CommanderStorm authored Jul 15, 2024
1 parent 1f2cc10 commit 55947dc
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
-- Add up migration script here
-- these are pretty major changes => we should re-download everything
UPDATE en SET last_calendar_scrape_at = null WHERE last_calendar_scrape_at is not null;
UPDATE de SET last_calendar_scrape_at = null WHERE last_calendar_scrape_at is not null;
delete from calendar where 1=1

ALTER TABLE calendar RENAME COLUMN stp_title_de TO title_de;
ALTER TABLE calendar RENAME COLUMN stp_title_en TO title_en;

Expand Down

0 comments on commit 55947dc

Please sign in to comment.