Add comment field to License table
This commit is contained in:
parent
7e4fe40a5f
commit
2a0da0dc51
12
src/migrations/20190117231524_license-comment-field.js
Normal file
12
src/migrations/20190117231524_license-comment-field.js
Normal 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');
|
||||||
|
})
|
||||||
|
};
|
||||||
Loading…
Reference in New Issue
Block a user