You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
return`SELECT table_name, table_schema FROM information_schema.tables WHERE table_type = 'VIEW' AND table_schema NOT IN ('pg_catalog', 'information_schema')${makeCondition("table_schema",schemaName)} UNION ALL SELECT matviewname AS table_name, schemaname AS table_schema FROM pg_matviews WHERE schemaname NOT IN ('pg_catalog', 'information_schema')${makeCondition("schemaname",schemaName)}`;
EDIT: Nevermind, this fix will not work due to the way sequelize-auto looks for information about the table's construct.
The text was updated successfully, but these errors were encountered:
Issue: Materialized Views are ignored when using
--views
Solution: Could either add another option flag--materializedViews
OR update the existingshowViewsQuery
forpostgres
:sequelize-auto/src/dialects/postgres.ts
Line 114 in 8a8eb9d
Possible inject:EDIT: Nevermind, this fix will not work due to the way
sequelize-auto
looks for information about the table's construct.The text was updated successfully, but these errors were encountered: