move notNullable upper

Signed-off-by: Kiss Miklos <miklos@roadie.io>
This commit is contained in:
Kiss Miklos
2022-06-30 19:00:10 +02:00
parent 8de6b89121
commit e31cc714c3
@@ -24,10 +24,10 @@ exports.up = async function up(knex) {
);
table
.text('entity_ref')
.notNullable()
.references('entity_id')
.inTable('refresh_state')
.onDelete('CASCADE')
.notNullable()
.comment('A reference to the entity that the refresh key is tied to');
table
.text('key')