1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-25 00:07:47 +01:00
unleash.unleash/src/migrations/20211105105509-add-predata-column-to-events.js

10 lines
221 B
JavaScript
Raw Normal View History

'use strict';
exports.up = function (db, cb) {
db.runSql(`ALTER TABLE events ADD COLUMN pre_data jsonb;`, cb);
};
exports.down = function (db, cb) {
db.runSql(`ALTER TABLE events DROP COLUMN pre_data;`, cb);
};