diff --git a/lib/src/open_factory.dart b/lib/src/open_factory.dart index ba6e58d4..7517eb4e 100644 --- a/lib/src/open_factory.dart +++ b/lib/src/open_factory.dart @@ -40,6 +40,7 @@ class PowerSyncOpenFactory extends DefaultSqliteOpenFactory { // ignore: deprecated_member_use_from_same_package _sqliteSetup?.setup(); final db = super.open(options); + db.execute('PRAGMA recursive_triggers = TRUE'); setupFunctions(db); return db; }