mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-01 00:08:27 +01:00
957546e305
https://linear.app/unleash/issue/2-1531/rename-message-banners-to-banners This renames "message banners" to "banners". I also added support for external banners coming from a `banner` flag instead of only `messageBanner` flag, so we can eventually migrate to the new one in the future if we want.
10 lines
226 B
JavaScript
10 lines
226 B
JavaScript
'use strict';
|
|
|
|
exports.up = function (db, cb) {
|
|
db.runSql(`ALTER TABLE message_banners RENAME TO banners`, cb);
|
|
};
|
|
|
|
exports.down = function (db, cb) {
|
|
db.runSql(`ALTER TABLE banners RENAME TO message_banners`, cb);
|
|
};
|