feat: implemented team score handling
This commit is contained in:
@@ -5,7 +5,7 @@ class TeamTable extends Table {
|
||||
TextColumn get name => text()();
|
||||
DateTimeColumn get createdAt => dateTime()();
|
||||
TextColumn get color => text().withDefault(const Constant('blue'))();
|
||||
IntColumn get score => integer().withDefault(const Constant(0))();
|
||||
IntColumn get score => integer().nullable()();
|
||||
|
||||
@override
|
||||
Set<Column<Object>> get primaryKey => {id};
|
||||
|
||||
Reference in New Issue
Block a user