sql stuff

This commit is contained in:
ntr
2018-11-22 12:11:16 +11:00
parent 421987c53b
commit 992b6ecd7d
6 changed files with 129 additions and 11 deletions
+5
View File
@@ -5,6 +5,11 @@ exports.up = async knex => {
table.timestamps();
table.binary('data').notNullable();
table.boolean('open')
.defaultTo(true)
.notNullable();
// table.boolean('active').notNullable();
});
await knex.schema.createTable('players', table => {