Skip to content

Commit

Permalink
Merge pull request #1014 from OpenSourceFellows/migration_fix
Browse files Browse the repository at this point in the history
More fixes
  • Loading branch information
DietBepis1 authored Dec 18, 2024
2 parents c86eef2 + ca17fa3 commit f89e871
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ module.exports = {
})

await knex.schema.alterTable('campaigns', (table) => {
table.integer('letter_template_id').unsigned().notNullable()
table.integer('letter_template_id').unsigned()
table.foreign('letter_template_id').references('letter_templates.id')
})
},
Expand Down

0 comments on commit f89e871

Please sign in to comment.