Back

Export db schema as json

  • 1
  • Self Hosted
  • Databases
iiammehmet
24 Apr, 2024, 03:52

How to export current db schema? or migration

TL;DR
The developer is working on exporting the database schema as JSON but needs 30 more minutes. They apologize for the separation of packages and lack of README update.
Steven
24 Apr, 2024, 03:59

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

Steven
24 Apr, 2024, 04:00
iiammehmet
24 Apr, 2024, 06:01

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)

Steven
24 Apr, 2024, 07:04

@ZachHandley? Got some advice?

ZachHandley
24 Apr, 2024, 13:54

@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

ZachHandley
24 Apr, 2024, 13:55

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

ZachHandley
24 Apr, 2024, 13:56

I’ll update the README’s too

ZachHandley
24 Apr, 2024, 15:43

sorry almost done

iiammehmet
24 Apr, 2024, 16:00

I greatly appreciate it

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more