adding all of our core sql systems

This commit is contained in:
Chris Cochrun 2024-11-12 06:29:24 -06:00
parent 2408404ff4
commit c9225680c3
20 changed files with 1055 additions and 227 deletions

View file

@ -0,0 +1,33 @@
-- Add migration script here
ALTER TABLE images
RENAME COLUMN filePath TO file_path;
ALTER TABLE videos
RENAME COLUMN filePath TO file_path;
ALTER TABLE videos
RENAME COLUMN startTime TO start_time;
ALTER TABLE videos
RENAME COLUMN endTime TO end_time;
ALTER TABLE presentations
RENAME COLUMN filePath TO file_path;
ALTER TABLE presentations
RENAME COLUMN pageCount TO pageCount;
ALTER TABLE songs
RENAME COLUMN fontSize TO font_size;
ALTER TABLE songs
RENAME COLUMN vorder TO verse_order;
ALTER TABLE songs
RENAME COLUMN horizontalTextAlignment TO horizontal_text_alignment;
ALTER TABLE songs
RENAME COLUMN verticalTextAlignment TO vertical_text_alignment;
ALTER TABLE songs
RENAME COLUMN backgroundType TO background_type;