Storing photo counts.

This commit is contained in:
DebaucheryLibrarian
2023-11-07 04:46:45 +01:00
parent ac904c849d
commit edc724b475
4 changed files with 21 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
exports.up = async (knex) => {
await knex.schema.alterTable('releases', (table) => {
table.integer('photo_count');
});
};
exports.down = async (knex) => {
await knex.schema.alterTable('releases', (table) => {
table.dropColumn('photo_count');
});
};