Initial and done prolly
This commit is contained in:
commit
6f88b9966f
175 changed files with 15445 additions and 0 deletions
10
lib/db/tables/storage_location.dart
Normal file
10
lib/db/tables/storage_location.dart
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
import 'package:drift/drift.dart';
|
||||
|
||||
class StorageLocation extends Table {
|
||||
IntColumn get id => integer().autoIncrement()();
|
||||
TextColumn get name => text()();
|
||||
TextColumn get description => text()();
|
||||
TextColumn get temperatureMode => text()();
|
||||
TextColumn get icon => text()();
|
||||
BoolColumn get isDefault => boolean().withDefault(const Constant(false))();
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue