Skip to content

How to rename a column which is used as part of a foreign key? #1181

Answered by groue
cimp8504 asked this question in Q&A
Discussion options

You must be logged in to vote

Hello @cimp8504,

You're about to recreate the table indeed. Follow closely the technique described in the Migrations guide, "Advanced Database Schema Changes" chapter, in order to talk to SQLite in a proper way.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by groue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants