Add comment field to License table

This commit is contained in:
Peter Sykora 2019-01-18 00:13:59 +01:00
parent 7e4fe40a5f
commit 2a0da0dc51

View File

@ -0,0 +1,12 @@
exports.up = function(knex, Promise) {
return knex.schema.table('License', function (table) {
table.string('comment');
});
};
exports.down = function(knex, Promise) {
return knex.schema.table('License', function (table) {
table.dropColumn('comment');
})
};