Adding gnommoeditor in the current version
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
// Add richer slide spec fields used in detailed per-slide JSON (e.g. video5 spec/ directory).
|
||||
exports.up = (pgm) => {
|
||||
pgm.addColumns('slides', {
|
||||
illustration_type: { type: 'varchar(50)' }, // glitch | transition | etc.
|
||||
slide_target: { type: 'varchar(50)' }, // image | svg
|
||||
symbols: { type: 'jsonb' }, // ["noise cloud", ...]
|
||||
caption: { type: 'text' },
|
||||
prompt: { type: 'text' }, // AI illustration prompt
|
||||
});
|
||||
};
|
||||
|
||||
exports.down = (pgm) => {
|
||||
pgm.dropColumns('slides', ['illustration_type', 'slide_target', 'symbols', 'caption', 'prompt']);
|
||||
};
|
||||
Reference in New Issue
Block a user