Functional key exchange

This commit is contained in:
2025-03-04 21:08:40 +08:00
parent 5a6b841253
commit d6f3ffc655
13 changed files with 173 additions and 73 deletions

View File

@ -481,7 +481,7 @@ class SnLocalKeyPair extends Table
String get actualTableName => $name;
static const String $name = 'sn_local_key_pair';
@override
Set<GeneratedColumn> get $primaryKey => const {};
Set<GeneratedColumn> get $primaryKey => {id};
@override
SnLocalKeyPairData map(Map<String, dynamic> data, {String? tablePrefix}) {
final effectivePrefix = tablePrefix != null ? '$tablePrefix.' : '';