|
|
|
|
|
by luser001
4832 days ago
|
|
Ha ha. The foreign_key_check command is going to be a lifesaver for me. I run with foreign key support disabled, because the referencing ("child") rows might get inserted before the referencing ("parent") rows (I don't control the order of inserts). Now I can just run a periodic scrub job with this command to clean out rows which didn't successfully transition from "violating foreign keys" to "satisfying foreign keys", instead of writing my own code. Neat. SQLite is an awesome database library. |
|