migration for animation type

This commit is contained in:
Brandon Thomas committed 2024-04-25 00:30:39 -04:00
1 parent a724f279f7
commit 16a383d405
3 files changed
+15

No files matched your search

@@ -0,0 +1,5 @@
-- noinspection SqlDialectInspectionForFile
-- noinspection SqlNoDataSourceInspectionForFile
-- noinspection SqlResolveForFile
ALTER TABLE media_files DROP COLUMN maybe_animation_type;
@@ -0,0 +1,7 @@
-- noinspection SqlDialectInspectionForFile
-- noinspection SqlNoDataSourceInspectionForFile
-- noinspection SqlResolveForFile
ALTER TABLE media_files
ADD COLUMN maybe_animation_type VARCHAR(32) DEFAULT NULL
AFTER maybe_frame_height;
+3
View File
@@ -137,6 +137,9 @@ CREATE TABLE media_files (
-- For videos, the original frame height.
maybe_frame_height INT(5) DEFAULT NULL,
-- For 3D rigs and animations, the type of animation.
maybe_animation_type VARCHAR(32) DEFAULT NULL,
-- Optional text transcript for audio or video (especially TTS)
maybe_text_transcript TEXT DEFAULT NULL,