pr feedback

This commit is contained in:
shenlong-tanwen 2025-03-28 07:16:14 +05:30
parent 5fa42c7718
commit aa32bed6b3
3 changed files with 18 additions and 0 deletions

View File

@ -15,4 +15,10 @@ class PartnerEntity extends Table with DriftDefaultsMixin {
@override
Set<Column> get primaryKey => {sharedById, sharedWithId};
@override
bool get isStrict => true;
@override
bool get withoutRowId => true;
}

View File

@ -90,4 +90,10 @@ class UserEntity extends Table with DriftDefaultsMixin {
@override
Set<Column> get primaryKey => {id};
@override
bool get isStrict => true;
@override
bool get withoutRowId => true;
}

View File

@ -12,6 +12,12 @@ class UserMetadataEntity extends Table with DriftDefaultsMixin {
@override
Set<Column> get primaryKey => {userId};
@override
bool get isStrict => true;
@override
bool get withoutRowId => true;
}
final JsonTypeConverter2<UserPreferences, String, Object?>