24 lines
481 B
JavaScript
24 lines
481 B
JavaScript
exports.up = async function(knex) {
|
|
await knex.schema.alterTable('actors', (table) => {
|
|
table.decimal('foot')
|
|
.alter();
|
|
});
|
|
|
|
await knex.schema.alterTable('actors_profiles', (table) => {
|
|
table.decimal('foot')
|
|
.alter();
|
|
});
|
|
};
|
|
|
|
exports.down = async function(knex) {
|
|
await knex.schema.alterTable('actors', (table) => {
|
|
table.integer('foot')
|
|
.alter();
|
|
});
|
|
|
|
await knex.schema.alterTable('actors_profiles', (table) => {
|
|
table.integer('foot')
|
|
.alter();
|
|
});
|
|
};
|