mirror of
https://github.com/madari-media/madari-oss.git
synced 2026-04-20 18:22:04 +00:00
10 lines
249 B
Dart
10 lines
249 B
Dart
import 'package:drift/drift.dart';
|
|
|
|
class RatingTable extends Table {
|
|
TextColumn get tconst => text()();
|
|
RealColumn get averageRating => real()();
|
|
IntColumn get numVotes => integer()();
|
|
|
|
@override
|
|
Set<Column> get primaryKey => {tconst};
|
|
}
|