Skip to content

Commit e652fd5

Browse files
committed
Fixed non-nullable migration value
1 parent 05880ac commit e652fd5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/db/migrations/20240817143934_create_letter_templates_table.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ module.exports = {
1010
})
1111

1212
await knex.schema.alterTable('letters', (table) => {
13-
table.integer('letter_template_id').unsigned().notNullable()
13+
table.integer('letter_template_id').unsigned()
1414
table.foreign('letter_template_id').references('letter_templates.id')
1515
table
1616
.enu('delivery_method', ['email', 'snail_mail'], {

0 commit comments

Comments
 (0)