mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-08 11:01:35 +00:00
migration for animation type
This commit is contained in:
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;
|
||||
@@ -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,
|
||||
|
||||
|
||||
Reference in new issue
Block a user