Changed actor foot column to decimal.

This commit is contained in:
DebaucheryLibrarian
2026-03-01 04:27:29 +01:00
parent 6e20d7d216
commit f82167656b
2 changed files with 25 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
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();
});
};