You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Run createUser in getSchemaMetadata for now, will reduce calls later
* Make setting up iam user explicit instead of implicit
* Add changlog
* improve schema diff
* Add quotes
* fix lint
* Don't block schema deployment
* Improve schema setup by making sure we execute changes in transaction, revoke users, and have sufficient permissions before diffing
* Fix lint issues
* Address code review comments
* Reuse setupSchemaIfNecessary in grant roles function (DRY)
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,3 +9,4 @@
9
9
- Fixed an issue where `ext:install` used POSIX file seperators on Windows machines. (#8326)
10
10
- Updated the Firebase Data Connect local toolkit to v1.9.1, which adds support for generated Angular SDKs and updates Dart SDK fields to follow best practices. (#8340)
11
11
- Fixed misleading comments in `firebase init dataconnect``connector.yaml` template.
12
+
- Improved Data Connect SQL permissions to better handle tables owned by IAM roles. (#8339)
`Owner rule isn't available in brownfield databases. If you would like Data Connect to manage and own your database schema, run 'firebase dataconnect:sql:setup'`,
289
+
);
270
290
}
271
291
272
292
// Upsert new user account into the database.
@@ -383,19 +403,11 @@ async function handleIncompatibleSchemaError(args: {
`Brownfield database are protected from SQL changes by Data Connect.\n`+
408
+
`You can use the SQL diff generated by 'firebase dataconnect:sql:diff' to assist you in applying the required changes to your CloudSQL database. Connector deployment will succeed when there is no required diff changes.\n`+
409
+
`If you would like Data Connect to manage your database schema, run 'firebase dataconnect:sql:setup'`,
0 commit comments