refactor: Move the Hlc generation from Dart to the database (#20)

This commit is contained in:
Marcelo Mendonça Soares 2026-02-05 22:38:12 -03:00 • committed by GitHub
commit 68bc3bf73f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -25,10 +25,7 @@ class CrdtBenchmarkDatabase extends _$CrdtBenchmarkDatabase {
}
return CrdtBenchmarkDatabase(
NativeDatabase.opened(
sqlite3.open(file.path),
setup: crdtEnabled ? registerHlcFunction : null,
),
NativeDatabase.opened(sqlite3.open(file.path)),
crdtEnabled: crdtEnabled,
);
}