Web Developer
How to export current db schema? or migration
Votes
1
Replies
9
Participants
Unknown
Messages
10
Web Developer
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
Web Developer
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?
Moderator
@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
Moderator
I had yet added database schema -> JSON without the config file, but I can do that, give me 30 minutes one sec
Moderator
I’ll update the README’s too
Moderator
sorry almost done
Web Developer
I greatly appreciate it