Skip to content

Conversation

@fsv-michael
Copy link

See: #462
and the original issue in python migra: djrobstep/migra#234

This change adds support for reloptions on views and tables to schemainspect, so that migra includes the critical "security_invoker" option on views.

While supporting the "security_invoker" option is the primary goal, for completeness I have also included reloptions on tables and materialized views.

…les: mmkal#462

 - Update schemainspect to get reloptions for relations
 - Generated code to include "WITH (<options>)"
 - Update migra to generate ALTER TABLE for changes to reloptions on tables
 - Add migra test case NEW_FIXTURES/viewreloptions
@vercel
Copy link

vercel bot commented Dec 9, 2025

@fsv-michael is attempting to deploy a commit to the mmkal Team on Vercel.

A member of the Team first needs to authorize it.

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.

1 participant