This commit is contained in:
ntr
2019-05-25 16:25:06 +10:00
parent 33f4cfa525
commit fac3defcf6
6 changed files with 44 additions and 42 deletions
@@ -1,6 +1,7 @@
exports.up = async knex => {
return knex.schema.createTable('constructs', table => {
table.uuid('id').primary();
table.timestamps(true, true);
table.uuid('account').notNullable()
table.foreign('account')
.references('id')