lib/torque/postgresql/adapter/schema_creation.rb in torque-postgresql-3.2.2 vs lib/torque/postgresql/adapter/schema_creation.rb in torque-postgresql-3.3.0

- old
+ new

@@ -14,10 +14,10 @@ if supports_indexes_in_create? statements.concat(o.indexes.map { |c, o| index_in_create(o.name, c, o) }) end - if supports_foreign_keys? + if @conn.supports_foreign_keys? statements.concat(o.foreign_keys.map { |fk| accept fk }) end if respond_to?(:supports_check_constraints?) && supports_check_constraints? statements.concat(o.check_constraints.map { |chk| accept chk })