splinter icon indicating copy to clipboard operation
splinter copied to clipboard

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

Open olirice opened this issue 1 year ago • 0 comments

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

olirice avatar Apr 03 '24 14:04 olirice