Is the <website docs> for verifying SqlDelight mig...
# squarelibraries
e
Is the website docs for verifying SqlDelight migrations up to date? It mentions
If there is a
.db
file present, a new
verifySqlDelightMigration
task will be added to the gradle project
but I have that task present without a
.db
file (and without any
.sqm
files for that matter). I also haven't set
schemaOutputDirectory
in Gradle.
My config looks like
Copy code
sqldelight {
  databases {
    create("MyDb") {
      packageName = "com.me.db"
    }
  }
}
r
a quick look at the plugin source code shows that it always registers the task https://github.com/cashapp/sqldelight/blob/fb48f4682c4f086d7d2f34e383b901ba4b91fd1[…]/src/main/kotlin/app/cash/sqldelight/gradle/SqlDelightPlugin.kt without diving deeper I'm not sure if it always does something or not though.