Admin
Did you install the CLI?
Votes
0
Replies
24
Participants
Unknown
Messages
25
Admin
Did you install the CLI?
Rank 3: Container
I got it working
Rank 3: Container
ok
Rank 3: Container
I read the docs
Rank 3: Container
appwrite databases getCollection --databaseId [DATABASE_ID] --collectionId [COLLECTION_ID]
Rank 3: Container
this is the closes thing I can find to migrate
Rank 3: Container
well
Rank 3: Container
it just gets collections
Rank 3: Container
I am unsure what to do after taht
Rank 3: Container
and this
appwrite databases createDocument \ --databaseId [DATABASE_ID] --collectionId [COLLECTION_ID] \ --documentId 'unique()' --data '{ "Name": "Iron Man" }' \ --permissions 'read("any")' 'write("team:abc")'
Rank 3: Container
@Steven help is appreciated
Rank 3: Container
oh wait
Rank 3: Container
@Steven
Rank 3: Container
$ 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
Rank 3: Container
I am so confused
Rank 3: Container
what does it mean deploy?
Rank 3: Container
I need help pelase
Rank 3: Container
its not doing anything
Rank 3: Container
@Steven I was able to migrate all the indexes and stuff
Rank 3: Container
now how do I migrate documents?
Admin
Yes, the deployment is for creating collections
Rank 3: Container
now how do i migrate documents?
Rank 3: Container
is ther is script for that?
Admin
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...
Rank 3: Container
okay...