Created by: tomasc
This is a quick PR that simply fences off creation of inherited tables in case there are none defined.
The underlying issue is that this gem, by re-processing the table schema, removes the raw SQL view definitions added by the Scenic gem. This PR makes torque-postgresql work with Scenic if you are not using the inherited tables functionality.
These look like this:
create_view "my_view_name", sql_definition: <<-SQL
…
SQL
@crashtech perhaps you know how to let these definitions go through the tables
method on Torque's SchemaDumper
?