Browse Source

refactor: enum alias correction

pull/9499/head
Pranav C 3 months ago
parent
commit
49c41564e0
  1. 4
      packages/nocodb/src/meta/migrations/v2/nc_064_pg_minimal_dbs.ts

4
packages/nocodb/src/meta/migrations/v2/nc_064_pg_minimal_dbs.ts

@ -2,13 +2,13 @@ import type { Knex } from 'knex';
import { MetaTable } from '~/utils/globals';
const up = async (knex: Knex) => {
await knex.schema.alterTable(MetaTable.BASES, (table) => {
await knex.schema.alterTable(MetaTable.SOURCES, (table) => {
table.boolean('is_local').defaultTo(false);
});
};
const down = async (knex: Knex) => {
await knex.schema.alterTable(MetaTable.BASES, (table) => {
await knex.schema.alterTable(MetaTable.SOURCES, (table) => {
table.dropColumn('is_local');
});
};

Loading…
Cancel
Save