about to change teams -> player
This commit is contained in:
@@ -6,6 +6,10 @@ exports.up = async knex => {
|
||||
table.index('id');
|
||||
table.timestamps(true, true);
|
||||
table.binary('data').notNullable();
|
||||
table.boolean('finished')
|
||||
.defaultTo(false)
|
||||
.notNullable()
|
||||
.index();
|
||||
});
|
||||
|
||||
await knex.schema.createTable('instances', async table => {
|
||||
@@ -14,7 +18,7 @@ exports.up = async knex => {
|
||||
table.timestamps(true, true);
|
||||
|
||||
table.binary('data').notNullable();
|
||||
table.boolean('finished')
|
||||
table.boolean('open')
|
||||
.defaultTo(false)
|
||||
.notNullable()
|
||||
.index();
|
||||
|
||||
Reference in New Issue
Block a user