AA-morganhoke
AA-morganhoke
XXata
Created by AA-morganhoke on 6/25/2024 in #help
PGRoll constraints not visible in latest migration
Hi, I have a raw sql migration that creates a unique constraint across a few columns. I want to use this constraint to enforce an upsert workflow. However, in the schema from that migration (public_MIGRATION_NAME) the constraint isn't visible. If I switch to the public schema, it is visible and working, so I can see that it's getting created correctly. Is there something I need to do to get my constraint into my migration schema's view, or should I run another migration, or do something else? Thanks!
5 replies