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
{{ message }}
Repository navigation
Commit 6ae99e0
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: docs/configuration.md
+65-7Lines changed: 65 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -56,7 +56,7 @@ java:
56
56
| `version` | string | Configuration contract version. Must be `"1"`. |
57
57
| `sql` | list | Non-empty, ordered list of source entries. |
58
58
| `sql[].name` | string | Identity of the query group. Names the generated repository. |
59
-
| `sql[].schema` | string | Path to a file containing `CREATE TABLE` statements. |
59
+
| `sql[].schema` | string or list | One path, or a non-empty ordered list of paths, to a file containing `CREATE TABLE` statements or to a directory of `.sql` migration files. |
60
60
| `sql[].queries` | string | Path to a file containing named queries. |
61
61
| `java` | mapping | Java generation settings. |
62
62
| `java.package` | string | Package of the generated Java classes. |
@@ -70,7 +70,7 @@ against that entry's own schema, and query order inside a query file is
70
70
preserved.
71
71
72
72
Schemas are not shared or merged between entries. A query can only use tables
73
-
declared in the schema file of its own entry.
73
+
declared in the schema sources of its own entry.
74
74
75
75
One entry generates exactly one repository containing every query of its query
76
76
source, in declared query order. Query names are therefore scoped to their
0 commit comments