write game abilities to db
This commit is contained in:
@@ -1,12 +1,13 @@
|
||||
exports.up = async knex => {
|
||||
knex.schema.createTable('games', table => {
|
||||
await knex.schema.createTable('games', table => {
|
||||
table.uuid('id').primary();
|
||||
table.timestamps();
|
||||
table.binary('data').notNullable();
|
||||
table.index('id');
|
||||
table.timestamps();
|
||||
|
||||
table.binary('data').notNullable();
|
||||
});
|
||||
|
||||
knex.schema.createTable('players', table => {
|
||||
await knex.schema.createTable('players', table => {
|
||||
table.uuid('id').primary();
|
||||
table.index('id');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user