Enable StoreKit credit purchases in production
Keep runtime grant verification aligned with all database migrations so release builds fail before missing table privileges reach deployment.
This commit is contained in:
@@ -51,7 +51,7 @@ class SmokeDeploymentTest : FunSpec({
|
||||
|
||||
test("runtime grants cover every migrated table without mutable history privileges") {
|
||||
val grants = root.read("deploy/smoke/runtime-grants.sql")
|
||||
val migrationTables = (1..8)
|
||||
val migrationTables = (1..12)
|
||||
.flatMap { version ->
|
||||
val migration = Files.list(root.resolve("src/main/resources/db/migration")).use { paths ->
|
||||
paths.filter { it.fileName.toString().startsWith("V${version}__") }
|
||||
|
||||
Reference in New Issue
Block a user