WIP: Neue Datenbank Struktur #156

Draft
gelbeinhalb wants to merge 11 commits from feature/88-neue-datenbank-struktur into development
Showing only changes of commit 7e6c309de0 - Show all commits

View File

@@ -0,0 +1,14 @@
import 'package:drift/drift.dart';
class GameTable extends Table {
TextColumn get id => text()();
TextColumn get name => text()();
TextColumn get ruleset => text()();
TextColumn get description => text().nullable()();
TextColumn get color => text().nullable()();
TextColumn get icon => text().nullable()();
DateTimeColumn get createdAt => dateTime()();
@override
Set<Column<Object>> get primaryKey => {id};
}