diff --git a/migrations/20240905182346-slected-mediafile.js b/migrations/20240905182346-slected-mediafile.js index 3a2cbbee..50638bb4 100644 --- a/migrations/20240905182346-slected-mediafile.js +++ b/migrations/20240905182346-slected-mediafile.js @@ -23,6 +23,7 @@ exports.up = function (db, callback) { (cb) => db.addColumn('selectedmediafile', 'sortOrder', { type: 'real' }, cb), (cb) => db.addColumn('selectedmediafile', 'createdAt', { type: 'bigint' }, cb), (cb) => db.addColumn('selectedmediafile', 'updatedAt', { type: 'bigint' }, cb), + (cb) => db.addColumn('selectedmediafile', 'group', { type: 'string' }, cb), (cb) => db.addColumn('selectedmediafile', 'mediafile_group', { type: 'text' }, cb), (cb) => db.addColumn('mediafile', 'variant', { type: 'json' }, cb), ], callback);