disable validation for release
This commit is contained in:
@@ -53,12 +53,12 @@ class TabDatabase extends $TabDatabase with TrigramQueryBuilderMixin {
|
|||||||
if (kDebugMode) {
|
if (kDebugMode) {
|
||||||
// This check pulls in a fair amount of code that's not needed
|
// This check pulls in a fair amount of code that's not needed
|
||||||
// anywhere else, so we recommend only doing it in debug builds.
|
// anywhere else, so we recommend only doing it in debug builds.
|
||||||
await validateDatabaseSchema(
|
// await validateDatabaseSchema(
|
||||||
setup: (database) {
|
// setup: (database) {
|
||||||
registerLexorankFunctions(database);
|
// registerLexorankFunctions(database);
|
||||||
registerUrlFunctions(database);
|
// registerUrlFunctions(database);
|
||||||
},
|
// },
|
||||||
);
|
// );
|
||||||
}
|
}
|
||||||
|
|
||||||
await customStatement('PRAGMA foreign_keys = ON');
|
await customStatement('PRAGMA foreign_keys = ON');
|
||||||
|
|||||||
Reference in New Issue
Block a user