4 ms·
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 n
by lun3x 8mo 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