
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
- Offline replication with RXDB
Hey there! Trying out apprwrite with rxdb for an offline focussed application. I cannot seem to find on how to set the permissions on a per document level?
- How to Fetch Item and Include the User/A...
A typical workflow with ORMs is to, for example, fetch an item from the DB and include the user who created it. How would I do that with AppWrite? Is that easil...
- Unable to add permission when creating a...
I am creating a collection from a cloud function using the Appwrite Dart server SDK, and I want to add permissions so it can be accessed by users. I added code ...
