fix(app-config): use correct case in connection_allowed
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
export async function up(knex) {
|
export async function up(knex) {
|
||||||
await knex.schema.alterTable('app_configs', (table) => {
|
await knex.schema.alterTable('app_configs', (table) => {
|
||||||
table.boolean('connectionAllowed').defaultTo(false);
|
table.boolean('connection_allowed').defaultTo(false);
|
||||||
});
|
});
|
||||||
|
|
||||||
const appConfigs = await knex('app_configs').select('*');
|
const appConfigs = await knex('app_configs').select('*');
|
||||||
@@ -32,6 +32,6 @@ export async function up(knex) {
|
|||||||
|
|
||||||
export async function down(knex) {
|
export async function down(knex) {
|
||||||
await knex.schema.alterTable('app_configs', (table) => {
|
await knex.schema.alterTable('app_configs', (table) => {
|
||||||
table.dropColumn('connectionAllowed');
|
table.dropColumn('connection_allowed');
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user