fix: change rate column to decimal of item entries table

This commit is contained in:
Ahmed Bouhuolia
2023-12-02 15:15:12 +02:00
parent 7fc1320834
commit 0f39cfb3af
2 changed files with 12 additions and 2 deletions

View File

@@ -0,0 +1,9 @@
exports.up = function (knex) {
return knex.schema.alterTable('items_entries', (table) => {
table.decimal('rate', 15, 5).alter();
});
};
exports.down = function (knex) {
return knex.table('items_entries', (table) => {});
};