Extend store API

This commit is contained in:
Zalmoxisus
2016-11-12 16:16:43 +02:00
parent 6794f63629
commit 1ba4d1e40b
4 changed files with 20 additions and 10 deletions

View File

@ -17,7 +17,7 @@ module.exports = function connector(options) {
return knex.seed.run();
})
.then(function() {
console.log('Migrations are finished.');
console.log(' \x1b[0;32m[Done]\x1b[0m Migrations are finished\n');
})
.catch(function(error) {
console.error(error);

View File

@ -13,6 +13,7 @@ exports.up = function(knex, Promise) {
table.string('version');
table.string('user');
table.string('userId');
table.string('instanceId');
table.string('meta');
table.string('exception');
table.timestamp('added').defaultTo(knex.fn.now());