10 lines
363 B
Dart
10 lines
363 B
Dart
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))();
|
|
}
|