You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At the moment sqlDelight does not generate the database interface and its implementation if there are no queries. This makes sense if you define your tables in your query files.
But you could also create the tables in your migration files.
Depending on the use case, you don't need a query file:
You only need the schema generated by sqldelight, but use other frameworks/raw queries to use it
You define the schema in one shared module and use dependency in another module which contains the real queries
SQLDelight Version
2.0.0-alpha03
Operating System
macOS 13
Gradle Version
7.5.1
Kotlin Version
1.7.10
Dialect
PostgreSQL
AGP Version
No response
Describe the Bug
At the moment sqlDelight does not generate the database interface and its implementation if there are no queries. This makes sense if you define your tables in your query files.
But you could also create the tables in your migration files.
Depending on the use case, you don't need a query file:
dependency
in another module which contains the real queriesReproducer for second use case:
shared-sqm-files-sample.zip
Stacktrace
No response
Gradle Build Script
No response
The text was updated successfully, but these errors were encountered: