refactor(app-config): remove obsolete properties

This commit is contained in:
Ali BARIN
2024-12-04 10:44:27 +00:00
parent 613f744dd6
commit cf7e2e0880
2 changed files with 15 additions and 3 deletions

View File

@@ -0,0 +1,15 @@
export async function up(knex) {
return await knex.schema.alterTable('app_configs', (table) => {
table.dropColumn('shared');
table.dropColumn('connection_allowed');
table.dropColumn('custom_connection_allowed');
});
}
export async function down(knex) {
return await knex.schema.alterTable('app_configs', (table) => {
table.boolean('shared').defaultTo(false);
table.boolean('connection_allowed').defaultTo(false);
table.boolean('custom_connection_allowed').defaultTo(false);
});
}