Skip to content

Commit

Permalink
[FEATURE] Ajouter la colone isVisible dans la table oidc-providers (P…
Browse files Browse the repository at this point in the history
  • Loading branch information
pix-service-auto-merge authored Feb 6, 2025
2 parents 1b17978 + 1ffaed5 commit c659647
Showing 1 changed file with 16 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
const TABLE_NAME = 'oidc-providers';
const COLUMN_NAME = 'isVisible';

const up = async function (knex) {
await knex.schema.table(TABLE_NAME, function (table) {
table.boolean(COLUMN_NAME).defaultTo(true);
});
};

const down = async function (knex) {
await knex.schema.table(TABLE_NAME, function (table) {
table.dropColumn(COLUMN_NAME);
});
};

export { down, up };

0 comments on commit c659647

Please sign in to comment.