diff --git a/lib/seed-fu/seeder.rb b/lib/seed-fu/seeder.rb index 2abfc54..37a3ea8 100644 --- a/lib/seed-fu/seeder.rb +++ b/lib/seed-fu/seeder.rb @@ -85,7 +85,7 @@ def constraint_conditions(data) end def update_id_sequence - if @model_class.connection.adapter_name == "PostgreSQL" + if @model_class.connection.adapter_name == "PostgreSQL" or @model_class.connection.adapter_name == "PostGIS" return if @model_class.primary_key.nil? || @model_class.sequence_name.nil? quoted_id = @model_class.connection.quote_column_name(@model_class.primary_key)