
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
- Index with the requested key already exi...
I'm using appwrite cli to create DB and I'm getting index_already_exists Is there a way to undestand the index name and maybe to skip if it's already exits?
- Issue - Migration From Cloud > Self Host...
Hi team, I’m trying to migrate a few of my Appwrite projects from the cloud to a self-hosted instance. These projects are currently in “archive mode” due to th...
- 404 error when navigating to the team fr...
the version i m running is `1.7.4` as far as i can tell everything is working fine except for this weird bug in the video. when monitoring the appwrite and app...
