Adding gnommoeditor in the current version

This commit is contained in:
2026-04-11 09:24:21 +02:00
commit 53d310da82
237 changed files with 64938 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
// Extend videos table with fields from project.json not captured in 001
exports.up = (pgm) => {
pgm.addColumns('videos', {
output_video: { type: 'varchar(200)' },
keynote_file: { type: 'varchar(500)' },
parent_gnommo_id: { type: 'varchar(50)' }, // gnommo_id of parent (for shorts)
outro: { type: 'jsonb' }, // ["outrovideo1"]
shorts: { type: 'jsonb' }, // ["short_pixelated_universe", ...]
manuscript_path: { type: 'varchar(500)' }, // "manuscript.txt"
});
};
exports.down = (pgm) => {
pgm.dropColumns('videos', [
'output_video', 'keynote_file', 'parent_gnommo_id', 'outro', 'shorts', 'manuscript_path',
]);
};