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
I have been using the scenic-view gem for a number of years. I just encounter an issue that may present a problem for others. Our application is a multi-tenant based application using a unique schema for each client. The issue occurs when i add a new client. Tables and views are created based on the schema.rb file but unfortunately any view that includes a "public".table in its definition is generated incorrectly. The schema.rb file does not include the "public" qualification. Am I overlooking something when i create new views or is this something that needs to be dealt with each time i create a new client / postgres schema?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have been using the scenic-view gem for a number of years. I just encounter an issue that may present a problem for others. Our application is a multi-tenant based application using a unique schema for each client. The issue occurs when i add a new client. Tables and views are created based on the schema.rb file but unfortunately any view that includes a "public".table in its definition is generated incorrectly. The schema.rb file does not include the "public" qualification. Am I overlooking something when i create new views or is this something that needs to be dealt with each time i create a new client / postgres schema?
Beta Was this translation helpful? Give feedback.
All reactions