Создание коллекций
This commit is contained in:
@@ -63,13 +63,9 @@ mixin _Deletable on Table {
|
||||
@DataClassName('Collection')
|
||||
class Collections extends Table with _UuidPrimaryKey, _Timestampable {
|
||||
TextColumn get title => text()();
|
||||
|
||||
TextColumn get desc => text()();
|
||||
|
||||
TextColumn get image => text().nullable()();
|
||||
|
||||
TextColumn get payload => text().nullable()();
|
||||
|
||||
IntColumn get likesCount => integer().withDefault(Constant(0))();
|
||||
BoolColumn get isLiked => boolean().withDefault(Constant(false))();
|
||||
BoolColumn get isPublic => boolean().withDefault(Constant(false))();
|
||||
|
||||
Reference in New Issue
Block a user