
How to export current db schema? or migration

You can use the Appwrite CLI to dump the collection schema: https://appwrite.io/docs/tooling/command-line/deployment.
We have migrations for moving project data: https://appwrite.io/docs/advanced/migrations

Our mod, Zach, also made a really neat tool: https://discord.com/channels/564160730845151244/870536298220367902/1230336083162562560

thanks, I tried all ways to run the cli made by zach. On Windows 11, cannot recognize the commands. How can i fix that? Already installed global package on my desktop (npm ERR! could not determine executable to run)

@ZachHandley? Got some advice?

@iiammehmet so you shouldn’t install the CLI and tbh it’s my fault because I separated it into two packages and haven’t updated the README

I had yet added database schema -> JSON without the config file, but I can do that, give me 30 minutes one sec

I’ll update the README’s too

sorry almost done

I greatly appreciate it
Recommended threads
- I am facing this error: type 'Null' is ...
When attempting to fetch areas from the area collection, the application throws an error: "type 'Null' is not a subtype of type 'int.'" This issue originates in...
- Adding Domain to Sites [Self Hosted]
I am struggling to get this working. I stood-up a new server and deployed appwrite 1.7.4. I added update .env file _APP_DOMAIN=appwrite.mydomain.com _APP_DOMAI...
- Need help migrating from self hosted to ...
Hi! I am using self hosted appwrite for testing stuff out and now it's prod ready I want to deplot it to the cloud version. It gave me this error when fetchin...
