Files
sqlitebrowser/src
mgrojo 282e6739d9 Prevent data loss when editing table with foreign keys enabled
Our procedure for editing tables may involve a drop of the old table
definition. This will trigger the "ON DELETE CASCADE" clauses of the
child tables, leading to unexpected and silent data loss.

Following the procedure described in:
https://www.sqlite.org/lang_altertable.html
we can guarantee that no data is deleted, but at the cost of opening a
new transaction specific for the table modification. The possible pending
changes must be saved before. This is only done when the foreign_keys
pragma is enabled.

See issue #1481
2018-08-09 13:28:49 +02:00
..
2017-10-30 21:20:02 +01:00
2018-06-08 23:51:14 +02:00
2017-12-23 22:19:17 +01:00
2017-10-30 21:20:02 +01:00
2017-10-30 21:20:02 +01:00
2017-10-30 21:20:02 +01:00
2017-10-30 21:20:02 +01:00
2014-12-05 09:20:29 +00:00
2014-12-05 09:20:29 +00:00
2018-06-08 22:46:47 +02:00
2018-06-08 22:46:47 +02:00
2018-06-08 22:46:47 +02:00
2018-06-08 22:46:47 +02:00
2018-07-13 00:46:14 +01:00
2017-10-30 21:20:02 +01:00
2018-07-10 23:12:28 +02:00
2017-10-30 21:20:02 +01:00