django-postgres-extra icon indicating copy to clipboard operation
django-postgres-extra copied to clipboard

[fix]Fixing the bug that causes index migration failure in multi-sche…

Open GodWord opened this issue 7 months ago • 1 comments

I think fixing it this way would be better, because in PostgreSQL, the pg_indexes view within the SQL SELECT indexname, indexdef FROM pg_indexes WHERE tablename = %s is used to display index information for all tables. When you execute this query, it returns indexes for all tables that meet the condition, regardless of whether these tables are within the current schema or not.

GodWord avatar Nov 28 '23 09:11 GodWord