-
-
Notifications
You must be signed in to change notification settings - Fork 128
View owner not tracked #160
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
Comments
@ruslantalpa Just checking, did you use the |
@tysonclugg sorry for late reply, i did not use |
@ruslantalpa Alternatively you may take a look at (Although from my experience Migra gives usually better result) |
So does |
In my experience no, |
Seems that this is a pretty deciding factor between |
@loekj Yes, that's true, although pgAdmin schema diff has its own issues: #189 (comment) I hope the decision is to improve Migra, not replace its engine with subpar engine from pgAdmin. |
I am seeing two critical (from a security perspective) issues where migra misses view privileges (even with the
|
@djrobstep thank you for migra
Although this might be a more general issue (relations owners not being tracked), i noticed this when diffing two views that had a specific owner set.
The resulting DDL is of a drop view/create view however the "correct" owner is not restored.
For an idea of why this might be useful (specific view owner), when working with RLS and Views, in order for an RLS policy to kick in when going through a view, the view must be owned by a non super user role. This is useful in setups with PostgREST and PostGraphile.
Thank you
The text was updated successfully, but these errors were encountered: