From e6ba3f1a1ce905ba77bda37f8054517739bea868 Mon Sep 17 00:00:00 2001 From: Brandon Presley Date: Fri, 10 Nov 2023 16:16:45 +1300 Subject: [PATCH] Update settings.dart schema --- lib/settings.dart | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/lib/settings.dart b/lib/settings.dart index 23fef36..76cac93 100644 --- a/lib/settings.dart +++ b/lib/settings.dart @@ -21,18 +21,18 @@ Setting defaultSettings = Setting( class Settings extends Table { BoolColumn get alarm => boolean()(); - BoolColumn get vibrate => boolean()(); - TextColumn get sound => text().nullable()(); - BoolColumn get notify => boolean()(); - BoolColumn get images => boolean()(); - BoolColumn get showUnit => boolean().nullable()(); - TextColumn get lightColor => text().nullable()(); + BoolColumn get backup => boolean().nullable()(); TextColumn get darkColor => text().nullable()(); - BoolColumn get steps => boolean()(); - TextColumn get date => text()(); - BoolColumn get showDate => boolean()(); - TextColumn get theme => text()(); - BoolColumn get showSets => boolean()(); - BoolColumn get noSound => boolean()(); - BoolColumn get backup => boolean()(); + TextColumn get date => text().nullable()(); + BoolColumn get images => boolean().nullable()(); + TextColumn get lightColor => text().nullable()(); + BoolColumn get noSound => boolean().nullable()(); + BoolColumn get notify => boolean().nullable()(); + BoolColumn get showDate => boolean().nullable()(); + BoolColumn get showSets => boolean().nullable()(); + BoolColumn get showUnit => boolean().nullable()(); + TextColumn get sound => text().nullable()(); + BoolColumn get steps => boolean().nullable()(); + TextColumn get theme => text().nullable()(); + BoolColumn get vibrate => boolean()(); }