Y
Hacker News
new
|
ask
|
show
|
jobs
by
Akronymus
135 days ago
So you have to drop and re-add a column when adding foreign keys?
1 comments
lun3x
134 days ago
The SQLite docs have a section about it, the idea is: 1. Create new table with foreign key constraint 2. Copy data from old to new 3. Drop old table 4. Rename new table to old name
link