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
- ACTIVATE DEPLOYMENT PROBLEM...
It's not giving me the option to activate a deployment that says it's ready..
- general_unauthorized_scope
localhost oauth not working. general_unauthorized_scope error showing. { "message": "User (role: guests) missing scopes ([\"account\"])", "code": 401, ...
- Anyone manage to get a slack-bot working...
I'm trying to setup a bot the send and retrieve slack messages to a chat in my site. I've failed with SSE and appwrite functions soo far... i'll trying polling ...