We have two different environments in our project (“dev”, “prod”). We would like to transfer all the data from one project to another (it is necessary for our CI).
So, I’ve investigated the topic, in which you showed an example, how to synchronize ONE schema. Can I do something alike for all schemas in my app regardless of the schema names? As I got, we can get certain schema of the project (
sq schemas get schema1 > schema.json), then we can sync schema(
sq schemas sync schema.json). And we can do the same process for all schemas one by one. But there also is a command (
sq schemas list > ./schemas/schemas.json), which allows to save ALL schemas of the project in json. Perhaps, there is a way, which I can proceed to implement ALL schemas synchronization in one command?
I’ve also had a look on this. Can this mechanism help me achieve what I want?
Or, perhaps, it will be better to use backups?
Synchronization after getting all schemas regardless of the schema names
Minimal reproduction of the problem
- [x] Cloud version
- CLI version is 5.2
- [x] All