Skip to content

Commit a0e112c

Browse files
authored
Merge pull request #1011 from OpenSourceFellows/migration_fix
Fixed non-nullable migration value
2 parents 05880ac + e652fd5 commit a0e112c

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)