lib/torque/postgresql/adapter/schema_creation.rb in torque-postgresql-2.4.5 vs lib/torque/postgresql/adapter/schema_creation.rb in torque-postgresql-3.0.0
- old
+ new
@@ -31,11 +31,10 @@
end
create_sql << "(#{statements.join(', ')})" \
if statements.present? || o.inherits.present?
- options = PostgreSQL::AR610 ? o : table_options(o)
- add_table_options!(create_sql, options)
+ add_table_options!(create_sql, o)
if o.inherits.present?
tables = o.inherits.map(&method(:quote_table_name))
create_sql << " INHERITS ( #{tables.join(' , ')} )"
end