Extend store API
This commit is contained in:
1 parent
6794f63629
commit
1ba4d1e40b
4 files changed
+20
-10
No files matched your search
+1
-1
@@ -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