global mm and startup
This commit is contained in:
@@ -50,6 +50,19 @@ exports.up = async knex => {
|
||||
|
||||
});
|
||||
|
||||
await knex.schema.createTable('matchmaking', async table => {
|
||||
table.uuid('id').primary();
|
||||
table.index('id');
|
||||
table.timestamps(true, true);
|
||||
|
||||
table.uuid('game').notNullable()
|
||||
table.foreign('game')
|
||||
.references('id')
|
||||
.inTable('games')
|
||||
.onDelete('NO ACTION');
|
||||
});
|
||||
|
||||
|
||||
// not really sure if this is a good idea
|
||||
await knex('instances').insert({
|
||||
id: NULL_UUID,
|
||||
|
||||
Reference in New Issue
Block a user