1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-11 00:08:30 +01:00

fix: add settings column to postgres

This commit is contained in:
Ivar Conradi Østhus 2020-02-27 21:33:11 +01:00
parent 7a410508cb
commit 9db8ad58a3

View File

@ -0,0 +1,22 @@
/* eslint camelcase: "off" */
'use strict';
exports.up = function(db, cb) {
return db.createTable(
'settings',
{
name: {
type: 'string',
length: 255,
primaryKey: true,
notNull: true,
},
content: { type: 'json' },
},
cb
);
};
exports.down = function(db, cb) {
return db.dropTable('settings', cb);
};