practice rpc

This commit is contained in:
ntr
2019-07-27 19:24:52 +10:00
parent fb84e1becf
commit 66223033b0
14 changed files with 286 additions and 309 deletions
@@ -8,7 +8,10 @@ exports.up = async knex => {
.inTable('accounts')
.onDelete('CASCADE');
table.binary('data').notNullable();
table.index('id');
table.boolean('team')
.notNullable()
.defaultTo(false);
});
};
-4
View File
@@ -17,10 +17,6 @@ exports.up = async knex => {
table.timestamps(true, true);
table.binary('data').notNullable();
table.boolean('open')
.defaultTo(false)
.notNullable()
.index();
table.boolean('finished')
.defaultTo(false)