forked from DebaucheryLibrarian/traxxx
20 lines
597 B
JavaScript
20 lines
597 B
JavaScript
|
function createColumns(table) {
|
||
|
table.enum('boobs_incision', ['mammary', 'areolar', 'crescent', 'lollipop', 'anchor', 'axillary', 'umbilical']);
|
||
|
table.boolean('natural_labia');
|
||
|
}
|
||
|
|
||
|
exports.up = async (knex) => {
|
||
|
await knex.schema.alterTable('actors', createColumns);
|
||
|
await knex.schema.alterTable('actors_profiles', createColumns);
|
||
|
};
|
||
|
|
||
|
function dropColumns(table) {
|
||
|
table.dropColumn('boobs_incision');
|
||
|
table.dropColumn('natural_labia');
|
||
|
}
|
||
|
|
||
|
exports.down = async (knex) => {
|
||
|
await knex.schema.alterTable('actors', dropColumns);
|
||
|
await knex.schema.alterTable('actors_profiles', dropColumns);
|
||
|
};
|