Skip to content

Commit

Permalink
fixed migration allow null values
Browse files Browse the repository at this point in the history
  • Loading branch information
ashleysmithTTD committed Dec 5, 2024
1 parent aa7ccb1 commit 54a9346
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ export async function up(knex: Knex): Promise<void> {

export async function down(knex: Knex): Promise<void> {
await knex.schema.alterTable('participants', (table) => {
table.enu('status', ['initialize', 'awaitingApproval', 'approved']).notNullable();
table.enu('status', ['initialize', 'awaitingApproval', 'approved']);
});
}

0 comments on commit 54a9346

Please sign in to comment.