File tree Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Original file line number Diff line number Diff line change @@ -18,3 +18,31 @@ Create a configuration in a new directory using the following commands:
18
18
``` sh
19
19
CONNECTION_URI=' <postgres-connection-string>' cargo run --bin ndc-postgres-cli -- --context=' <directory>' update
20
20
```
21
+
22
+ ## Upgrade a configuration
23
+
24
+ An older configuration version (e.g. "v3") can be upgraded to a newer one using the ` upgrade ` command.
25
+
26
+ ``` sh
27
+ cargo run --bin ndc-postgres-cli -- upgrade --dir-from < DIR_FROM> --dir-to < DIR_TO>
28
+ ```
29
+
30
+ ## Native Operations
31
+
32
+ Native Operations can be listed, added, and deleted using ndc-postgres-cli:
33
+
34
+ ``` sh
35
+ $ CONNECTION_URI=' <postgres-connection-string>' cargo run --bin ndc-postgres-cli -- --context=' <directory>' native-operation --help
36
+ Commands on Native Operations
37
+
38
+ Usage: hasura-ndc-postgres native-operation < COMMAND>
39
+
40
+ Commands:
41
+ list List the existing Native Operations
42
+ create Create a new Native Operation from a SQL file
43
+ delete Delete an existing Native Operation from the configuration
44
+ help Print this message or the help of the given subcommand(s)
45
+
46
+ Options:
47
+ -h, --help Print help
48
+ ```
You can’t perform that action at this time.
0 commit comments