2024-08-27 07:22:18 +00:00
|
|
|
part of '../database.dart';
|
|
|
|
|
|
|
|
class AuthenticationTable extends Table {
|
|
|
|
IntColumn get id => integer().autoIncrement()();
|
2024-09-06 04:41:35 +00:00
|
|
|
TextColumn get spotifyCookie => text().map(EncryptedTextConverter())();
|
|
|
|
TextColumn get spotifyAccessToken => text().map(EncryptedTextConverter())();
|
|
|
|
DateTimeColumn get spotifyExpiration => dateTime()();
|
|
|
|
TextColumn get neteaseCookie =>
|
|
|
|
text().map(EncryptedTextConverter()).nullable()();
|
|
|
|
DateTimeColumn get neteaseExpiration => dateTime().nullable()();
|
2024-08-27 07:22:18 +00:00
|
|
|
}
|