Extend store API
This commit is contained in:
@ -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);
|
||||
|
@ -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());
|
||||
|
Reference in New Issue
Block a user