disable validation for release

This commit is contained in:
Fabian Freund
2026-05-26 16:50:27 +02:00
parent 1b8eaf2c76
commit b6fd56b8b7
@@ -53,12 +53,12 @@ class TabDatabase extends $TabDatabase with TrigramQueryBuilderMixin {
if (kDebugMode) {
// This check pulls in a fair amount of code that's not needed
// anywhere else, so we recommend only doing it in debug builds.
await validateDatabaseSchema(
setup: (database) {
registerLexorankFunctions(database);
registerUrlFunctions(database);
},
);
// await validateDatabaseSchema(
// setup: (database) {
// registerLexorankFunctions(database);
// registerUrlFunctions(database);
// },
// );
}
await customStatement('PRAGMA foreign_keys = ON');