Hi I was wondering if it would be possible to duplicate an environment so that I don't have to manually replicate the schema I'm using in my dev environment. Is there a way to do this using the API or an SDK?
If you have the appwrite cli you can do appwrite init collection
to pull down a json representation of your database structure, then do appwrite deploy collection
to deploy it.
oh that's awesome i didn't know about the cli!
thanks!
Recommended threads
- Update User Error
```ts const { users, databases } = await createAdminClient(); const session = await getLoggedInUser(); const user = await users.get(session.$id); if (!use...
- apple exchange code to token
hello guys, im new here 🙂 I have created a project and enabled apple oauth, filled all data (client id, key id, p8 file itself etc). I generate oauth code form...
- How to Avoid Double Requests in function...
I'm currently using Appwrite's `functions.createExecution` in my project. I want to avoid double requests when multiple actions (like searching or pagination) a...