active_record_doctor icon indicating copy to clipboard operation
active_record_doctor copied to clipboard

Allow models to be backed by foreign tables in PostgreSQL for undefined_table_references

Open fatkodima opened this issue 2 years ago • 0 comments

We can avoid creating our own method to get the VIEWs, since data_source_exists? already does this. And additionally this will allow for models to be backed by foreign tables in PostgreSQL.

https://github.com/rails/rails/blob/be400c3ca2b86111766d840979478fc026679368/activerecord/lib/active_record/connection_adapters/postgresql/schema_statements.rb#L882-L909

fatkodima avatar Jun 19 '22 10:06 fatkodima