12 lines
341 B
JavaScript
12 lines
341 B
JavaScript
exports.up = function (knex) {
|
|
return knex.schema.table('object_definitions', (table) => {
|
|
table.string('nameField', 255).comment('API name of the field to use as record display name');
|
|
});
|
|
};
|
|
|
|
exports.down = function (knex) {
|
|
return knex.schema.table('object_definitions', (table) => {
|
|
table.dropColumn('nameField');
|
|
});
|
|
};
|