9 lines
312 B
Dart
9 lines
312 B
Dart
|
part of '../database.dart';
|
||
|
|
||
|
class AuthenticationTable extends Table {
|
||
|
IntColumn get id => integer().autoIncrement()();
|
||
|
TextColumn get cookie => text().map(EncryptedTextConverter())();
|
||
|
TextColumn get accessToken => text().map(EncryptedTextConverter())();
|
||
|
DateTimeColumn get expiration => dateTime()();
|
||
|
}
|