refactor repositories

This commit is contained in:
shenlong-tanwen
2024-09-21 20:04:05 +05:30
parent d6495f014d
commit e810512285
23 changed files with 142 additions and 127 deletions
@@ -9,7 +9,7 @@ class Asset extends Table {
IntColumn get id => integer().autoIncrement()();
TextColumn get name => text()();
TextColumn get checksum => text().unique()();
TextColumn get hash => text().unique()();
IntColumn get height => integer().nullable()();
IntColumn get width => integer().nullable()();
IntColumn get type => intEnum<AssetType>()();