Skip to content

Lint to detect if tables/views/functions were created outside of migrations #32

@olirice

Description

@olirice

The latest version of the supabase CLI inserts migration statements into the database as text[]

This lint would iterate through tables/functions/views and check to see if they are (at least) referenced somewhere in the migration statements. If they are not, its highly likely that the entity was created outside of migrations on accident and we should flag it

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions