upkeep based on phase times now

This commit is contained in:
ntr
2019-06-01 00:08:52 +10:00
parent 626a578469
commit 574f260a30
5 changed files with 17 additions and 19 deletions
+2
View File
@@ -4,6 +4,7 @@ exports.up = async knex => {
table.index('id');
table.timestamps(true, true);
table.binary('data').notNullable();
table.timestamp('upkeep');
table.boolean('finished')
.defaultTo(false)
.notNullable()
@@ -26,6 +27,7 @@ exports.up = async knex => {
.notNullable()
.index();
table.timestamp('upkeep');
});
await knex.schema.createTable('players', table => {