Migation from standard datastore to Firebase native

75 views
Skip to first unread message

Richard Cheesmar

unread,
Aug 23, 2018, 6:34:30 AM8/23/18
to Google App Engine
"Migation from standard datastore to Firebase native"

Are there any docs on this topic?

Thanks

Dennis Yurkevich

unread,
Aug 23, 2018, 7:02:54 AM8/23/18
to google-a...@googlegroups.com
+1

When I try and access firestore - I am greeted by a message that datastore is activated and therefore I should use that, however my project is not using any datastore APIs.

--
You received this message because you are subscribed to the Google Groups "Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscribe@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/71f4baea-11ca-45be-b4c0-3d91788b5894%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Jordan (Cloud Platform Support)

unread,
Aug 24, 2018, 2:49:26 PM8/24/18
to Google App Engine
You can find all of the answers to your questions in the Automatic Upgrade to Cloud Firestore documentation and provided video. As noted in blue on that page: "You cannot manually upgrade an existing Cloud Datastore database to Cloud Firestore in Datastore mode.". This will be done automatically for you once Firestore is out of Beta. 

- If you are looking to use native Cloud Firestore (by following the Get started with Cloud Firestore steps), you are required to create a new project that does not have a Cloud Datastore created. This is because Cloud Datastore and native Cloud Firestore are not compatible, since Cloud Firestore is the next generation of Cloud Datastore. They therefore cannot exists together in the same project, and you can only use one or the other. 

Dennis Yurkevich

unread,
Aug 28, 2018, 4:49:24 AM8/28/18
to google-a...@googlegroups.com
Thank you Jordan, but the question remains - if I activated Cloud Datastore but have never used the APIs, can I shut it down and create a Firestore in that same project?

On Fri, Aug 24, 2018 at 7:49 PM, 'Jordan (Cloud Platform Support)' via Google App Engine <google-a...@googlegroups.com> wrote:
You can find all of the answers to your questions in the Automatic Upgrade to Cloud Firestore documentation and provided video. As noted in blue on that page: "You cannot manually upgrade an existing Cloud Datastore database to Cloud Firestore in Datastore mode.". This will be done automatically for you once Firestore is out of Beta. 

- If you are looking to use native Cloud Firestore (by following the Get started with Cloud Firestore steps), you are required to create a new project that does not have a Cloud Datastore created. This is because Cloud Datastore and native Cloud Firestore are not compatible, since Cloud Firestore is the next generation of Cloud Datastore. They therefore cannot exists together in the same project, and you can only use one or the other. 

--
You received this message because you are subscribed to the Google Groups "Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscribe@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.

Jean Juste-constant

unread,
Aug 29, 2018, 11:21:37 AM8/29/18
to Google App Engine
By Activating the Cloud Datastore service under your project, you are actually setting up Datastore: 

NoteDuring the activation process, you will create a GCP project ID for your project. This ID identifies the Cloud Datastore storage used for your project.

I would suggest to follow the steps of the 'automatic upgrade to Cloud Firestore', as mentioned by Jordan. This is the right steps to convert from Cloud Datastore to Cloud Firestore. Currently, it's the only method to enable Cloud Firestore for a project where Cloud Datastore was enabled.


On Tuesday, August 28, 2018 at 4:49:24 AM UTC-4, Dennis Yurkevich wrote:
Thank you Jordan, but the question remains - if I activated Cloud Datastore but have never used the APIs, can I shut it down and create a Firestore in that same project?
Reply all
Reply to author
Forward
0 new messages