Skip to content

Cannot Set Foreign key to allowNull : true when it was Initialised with allowNull: false #16049

Answered by ephys
prkhrv asked this question in Help & Questions
Discussion options

You must be logged in to vote

You need to migrate your table, edit it manually, or drop your table if you're not yet in production and don't care about your data

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@prkhrv
Comment options

@ephys
Comment options

Answer selected by prkhrv
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants