Closed victorterpstra closed 2 years ago
Fixed and tested in v0.5.3.0b
Added a parameter enable_sqlite_fk
to the constructor. The above code is run dynamically just before the SQLite engine is created.
Seems to be able to dynamically enable/disable the FK checks in SQLite, i.e. creating a new ScenarioDbManager with a different setting.
Has no impact on how DB2WH is checking FK constraints.
SQLite doesn't automatically check for FK violations. Currently, we need to do the below in a notebook cell. Find a way to incorporate in the package/class