Mercurial > hg > orthanc
diff Core/SQLite/Connection.cpp @ 181:2dece1526c06
simplifying db schema
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 09 Nov 2012 18:09:19 +0100 |
parents | 0e97abc7b950 |
children | 4453a010d0db |
line wrap: on
line diff
--- a/Core/SQLite/Connection.cpp Fri Nov 09 12:12:59 2012 +0100 +++ b/Core/SQLite/Connection.cpp Fri Nov 09 18:09:19 2012 +0100 @@ -89,6 +89,8 @@ // http://www.sqlite.org/pragma.html Execute("PRAGMA FOREIGN_KEYS=ON;"); + Execute("PRAGMA RECURSIVE_TRIGGERS=ON;"); + // Performance tuning Execute("PRAGMA SYNCHRONOUS=NORMAL;"); Execute("PRAGMA JOURNAL_MODE=WAL;");