We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 234ffc6 commit eff41e7Copy full SHA for eff41e7
1 file changed
docs/reference/configuration.md
@@ -74,6 +74,26 @@ gateways:
74
database: <database>
75
```
76
77
+#### Configure State Schema Name
78
+
79
+By default the schema name used to store state tables is `sqlmesh`. This can be configured by providing `state_schema` config property as
80
+part of the gateway configuration.
81
82
+```yaml linenums="1"
83
+gateways:
84
+ my_gateway:
85
+ state_connection:
86
+ type: postgres
87
+ host: <host>
88
+ port: <port>
89
+ user: <username>
90
+ password: <password>
91
+ database: <database>
92
+ state_schema: custom_name
93
+```
94
95
+This would create all state tables in the schema name `custom_name`.
96
97
### Test connection
98
99
Configuration for a connection used when running unit tests. Default: a DuckDB connection that creates an in-memory database.
0 commit comments