upsert method
- String version
Creates or updates the provided version
in the database.
Implementation
Future<void> upsert(String version) async {
await safe((db) async {
final row = SkippedVersionRow(id: 0, skipped: version);
await db
.into(db.skippedVersions)
.insert(row, onConflict: DoUpdate((_) => row));
});
}