Fixed seed files for stand-alone channel entities.

This commit is contained in:
2020-06-28 00:44:53 +02:00
parent 3462d7af2a
commit 7d31dd8d52
6 changed files with 243 additions and 207 deletions

View File

@@ -174,10 +174,12 @@ exports.up = knex => Promise.resolve()
table.text('description');
table.json('parameters');
table.boolean('active');
table.integer('priority', 3)
.defaultTo(0);
table.boolean('has_logo')
.defaultTo(true);
table.datetime('created_at')
.defaultTo(knex.fn.now());
}))