Cannot migrate dataconnect: Only users granted firebaseowner SQL role can run migrations (But I am owner)
[REQUIRED] Environment info
firebase-tools: 14.10.1
Platform: macOS
[REQUIRED] Test case
Create a sample schema in the dataconnect GQL cloud. Check it out locally, and then re-name a table (I.e. I renamed the User table to AllenaUser). When I run
firebase dataconnect:sql:migrate
I get the error
Command aborted. Only users granted firebaseowner SQL role can run migrations
But when I run
firebase login
It is my owner email that appears, and i check IAM and I am Owner of the entire project (It is only me working on it).
[REQUIRED] Steps to reproduce
Create a sample schema in the dataconnect GQL cloud. Check it out locally, and then re-name a table (I.e. I renamed the User table to AllenaUser). When I run
firebase dataconnect:sql:migrate
I get the error
[REQUIRED] Expected behavior
I can run the migration. I am the admin and owner
[REQUIRED] Actual behavior
This issue does not have all the information required by the template. Looks like you forgot to fill out some sections. Please update the issue with more information.
skill issue related to having set up dataconnect on an existing cloud sql resource (https://firebase.google.com/docs/data-connect/cli-reference) Fixed with:
firebase dataconnect:sql:grant
--role owner
--email your@email