RhythmBox/lib/services/database/tables/scrobbler.dart

9 lines
311 B
Dart
Raw Normal View History

part of '../database.dart';
class ScrobblerTable extends Table {
IntColumn get id => integer().autoIncrement()();
DateTimeColumn get createdAt => dateTime().withDefault(currentDateAndTime)();
TextColumn get username => text()();
TextColumn get passwordHash => text().map(EncryptedTextConverter())();
}