Did you install the CLI?
I got it working
ok
I read the docs
appwrite databases getCollection --databaseId [DATABASE_ID] --collectionId [COLLECTION_ID]
this is the closes thing I can find to migrate
well
it just gets collections
I am unsure what to do after taht
and this
appwrite databases createDocument \
--databaseId [DATABASE_ID] --collectionId [COLLECTION_ID] \
--documentId 'unique()' --data '{ "Name": "Iron Man" }' \
--permissions 'read("any")' 'write("team:abc")'
@Steven help is appreciated
oh wait
@Steven
$ appwrite deploy collection 648785f8d079d1a1e1d0
? Which collections would you like to deploy? (Press <space> to select, <a> to
? Which collections would you like to deploy? Product (646538e35dd17306c589 -
646538eeeface7a4cd39)
ℹ Info Deploying collection Product ( 646538e35dd17306c589 - 646538eeeface7a4cd39 )
✓ Success Updated Products ( 646538e35dd17306c589 )
ℹ Info Collection Product ( 646538eeeface7a4cd39 ) already exists.
? Are you sure you want to override this collection? This can lead to loss
I am so confused
what does it mean deploy?
I need help pelase
its not doing anything
@Steven I was able to migrate all the indexes and stuff
now how do I migrate documents?
Yes, the deployment is for creating collections
now how do i migrate documents?
is ther is script for that?
You, you'll have to create a script for that yourself. You should have pulled that data down so that your script could use that data for creating the documents...
okay...
Recommended threads
- How to Display File in Web?
I'm trying to use Appwrite's Storage to store images and display them in my app, however when I use the `getFileView`, `getFileDownload` or `getFilePreview` met...
- Project Paused Despite Daily Active Usag...
I noticed that my project was automatically **paused**, even though it is actively being used. The project is an **attendance application** that is used daily b...
- Sudden CORS Errors - Domain hasn't Chang...
I have an Appwrite project with two web apps configured, the first one has the hostname `*` and the second one I just added to test if it could fix the issue wi...