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
- Custom API domain is unreachable
Earlier my custom api domain was working fine. Now it seems to be offline without a trace a few hours later. I didn't change anything, all the relevant DNS reco...
- "Invalid console fingerprint" when unpau...
I've tried logging out and logging back in, still can't figure out why this is happening.
- Inviting members while SMTP is disabled ...
Issue: https://github.com/appwrite/console/issues/3125 PR: https://github.com/appwrite/console/pull/3126