Skip to content

Commit 36e8056

Browse files
committed
Use SyncDatabase.Schema.version to get current schema version
1 parent c70e759 commit 36e8056

File tree

1 file changed

+1
-3
lines changed
  • libpretixsync/src/main/java/eu/pretix/libpretixsync/sqldelight

1 file changed

+1
-3
lines changed

libpretixsync/src/main/java/eu/pretix/libpretixsync/sqldelight/Migrations.kt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,8 @@ import app.cash.sqldelight.db.AfterVersion
55
object Migrations {
66
/**
77
* Current database version
8-
*
9-
* Must be updated manually and kept in sync with the SQLDelight migrations.
108
*/
11-
const val CURRENT_VERSION = 108L
9+
val CURRENT_VERSION = SyncDatabase.Schema.version
1210

1311
/**
1412
* Lowest schema version that we can still migrate from

0 commit comments

Comments
 (0)