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
- SSL Certificate Failure - Using Appwrite...
When we attempt to apply our custom domain to our appwrite site, we consistently receive the following error. [23:44:49] Processing SSL certificate issuance. ...
- [Self-hosted] Realtime crashes with "Mis...
- Regarding Rate Limits
Hello, I am a student engineer who built an internal website for my university club using AppWrite. My club currently has around 500 members, and when I recent...