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

5 lines
481 B
Markdown

# Foreign Key Constraints
SQLite does not, currently, enforce foreign key constraints by default. However you can enable foreign key constraints on rqlite simply by sending `PRAGMA foreign_keys=ON` as a command. Constraints will remain enabled, even across restarts, unless the command `PRAGMA foreign_keys=OFF` is issued.
You can check the current state of foreign key constraints at anytime via the [status API](https://github.com/rqlite/rqlite/blob/master/doc/DIAGNOSTICS.md).