Skip to content

Commit

Permalink
change column migration
Browse files Browse the repository at this point in the history
  • Loading branch information
Xziy committed Oct 15, 2024
1 parent dd7c9a1 commit 8e1056a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions migrations/20240905182346-slected-mediafile.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 8e1056a

Please sign in to comment.