Add required checkbox to custom fields
This commit is contained in:
parent
428e558108
commit
1914591f46
3 changed files with 15 additions and 5 deletions
|
@ -0,0 +1,8 @@
|
|||
exports.up = (knex, Promise) => (async() => {
|
||||
await knex.schema.table('custom_fields', function(t) {
|
||||
t.boolean('required').notNull().defaultTo(0).after('default_value');
|
||||
});
|
||||
})();
|
||||
|
||||
exports.down = (knex, Promise) => (async() => {
|
||||
})();
|
Loading…
Add table
Add a link
Reference in a new issue