1
0
Fork 0
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
fluidb-old/DOC/FOREIGN_KEY_CONSTRAINTS.md

642 B

Foreign Key Constraints

Since SQLite does not enforce foreign key constraints by default, neither does rqlite. However you can enable foreign key constraints on rqlite simply by sending PRAGMA foreign_keys=ON via the CLI or the write API. Constraints will then remain enabled, even across restarts, until the statement PRAGMA foreign_keys=OFF is issued.

You can check the current state of foreign key constraints at anytime via the status API.