Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add roles to diffs #240

Open
felipe31 opened this issue Apr 30, 2024 · 0 comments
Open

Add roles to diffs #240

felipe31 opened this issue Apr 30, 2024 · 0 comments

Comments

@felipe31
Copy link

Currently, if you create a role in a DB instance, grant permissions to it, and run the diff, it will generate the grant statements for that role but does not create the role.
Resetting the DB with the generated migrations will produce an ERROR: role "myrole" does not exist (SQLSTATE 42704) error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant