Add warning about sqlite disabled foreign keys

This commit is contained in:
Matthias 2022-06-09 19:51:21 +02:00
parent b211a5156f
commit a9c7ad8a0f

View File

@ -100,6 +100,9 @@ DELETE FROM trades WHERE id = 31;
!!! Warning !!! Warning
This will remove this trade from the database. Please make sure you got the correct id and **NEVER** run this query without the `where` clause. This will remove this trade from the database. Please make sure you got the correct id and **NEVER** run this query without the `where` clause.
!!! Danger
Some systems (Ubuntu) disable foreign keys in their sqlite3 implementation. When using sqlite3 - please ensure that foreign keys are on by running `PRAGMA foreign_keys = ON` before the above query.
## Use a different database system ## Use a different database system
!!! Warning !!! Warning