Merge branch 'gabr/dbExport' into 'master'

Export the database schema

See merge request AuroraOSS/AuroraStore!442
This commit is contained in:
Aayush Gupta
2025-02-16 07:06:54 +00:00
3 changed files with 6 additions and 1 deletions

View File

@@ -17,6 +17,7 @@ assembleDebug:
artifacts:
paths:
- $DEBUG_BINARY_PATH
- 'app/schemas/com.aurora.store.data.room.AuroraDatabase/'
uploadDebug:
stage: upload

View File

@@ -131,6 +131,10 @@ android {
}
}
ksp {
arg("room.schemaLocation", "$projectDir/schemas")
}
dependencies {
//Google's Goodies

View File

@@ -14,7 +14,7 @@ import com.aurora.store.data.room.update.UpdateDao
@Database(
entities = [Download::class, Favourite::class, Update::class],
version = 5,
exportSchema = false
exportSchema = true
)
@TypeConverters(DownloadConverter::class)
abstract class AuroraDatabase : RoomDatabase() {