|
|
|
|
|
by ncruces
550 days ago
|
|
Then build with SQLITE_DEFAULT_FOREIGN_KEYS=1 to make it opt-out (and to opt-out you'd need to inject SQL). As for STRICT: if you make your tables STRICT, there's no opt-out. So why is this an issue? Do you want them to break the file format to say "from this version forward, all tables are STRICT"? What does that really buy you? It's an embed database: anyone who can mess with your database and circumvert integrity can also open the file and corrupt it. |
|
It removes a footgun for new users. That's not an insignificant benefit.
Probably not worth the backwards compatibility cost, but it definitely is an issue.