[go: nahoru, domu]

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

NEOS-981: remove custom roles from migrations #2165

Merged

Conversation

nickzelei
Copy link
Member
@nickzelei nickzelei commented Jun 17, 2024

Removes role creation from migration scripts to make migrations easier to run in a larger variety of postgres environments.

They currently fail today in Neon databases due to their limitation of requiring every role to have a password.

This also just moves us more towards a more robust environment as roles should be managed outside of these migration scripts.

Copy link
linear bot commented Jun 17, 2024

Copy link
vercel bot commented Jun 17, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
neosync-docs ⬜️ Ignored (Inspect) Visit Preview Jun 17, 2024 11:15pm

Copy link
codecov bot commented Jun 17, 2024

Codecov Report

Attention: Patch coverage is 0% with 20 lines in your changes missing coverage. Please review.

Project coverage is 17.84%. Comparing base (97f6a59) to head (6aa61e4).
Report is 2 commits behind head on main.

Files Patch % Lines
backend/internal/cmds/mgmt/serve/connect/cmd.go 0.00% 11 Missing ⚠️
backend/internal/cmds/mgmt/migrate/up/up.go 0.00% 5 Missing ⚠️
backend/internal/nucleusdb/db.go 0.00% 2 Missing ⚠️
backend/internal/nucleusdb/util.go 0.00% 1 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2165      +/-   ##
==========================================
- Coverage   17.84%   17.84%   -0.01%     
==========================================
  Files         224      224              
  Lines       49577    49597      +20     
==========================================
+ Hits         8849     8852       +3     
- Misses      39597    39613      +16     
- Partials     1131     1132       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@nickzelei nickzelei changed the title remove custom roles from migrations NEOS-981: remove custom roles from migrations Jun 17, 2024
@nickzelei nickzelei merged commit b2ca5fe into main Jun 17, 2024
12 of 13 checks passed
@nickzelei nickzelei deleted the nick/neos-981-db-migrations-dont-work-out-of-the-box-with-rds branch June 17, 2024 23:54
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

Successfully merging this pull request may close these issues.

None yet

1 participant