Adding gnommoeditor in the current version
This commit is contained in:
@@ -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',
|
||||
]);
|
||||
};
|
||||
Reference in New Issue
Block a user