mirror of
https://github.com/twonlyapp/twonly-app.git
synced 2026-03-04 02:46:47 +00:00
12 lines
380 B
Dart
12 lines
380 B
Dart
import 'package:drift/drift.dart';
|
|
|
|
@DataClassName('SignalSessionStore')
|
|
class SignalSessionStores extends Table {
|
|
IntColumn get deviceId => integer()();
|
|
TextColumn get name => text()();
|
|
BlobColumn get sessionRecord => blob()();
|
|
DateTimeColumn get createdAt => dateTime().withDefault(currentDateAndTime)();
|
|
|
|
@override
|
|
Set<Column> get primaryKey => {deviceId, name};
|
|
}
|