Sha256: a6967ac2329e3c34c02a438f5446b9627363899e16ecc4f54a9cfc50e0c23337

Contents?: true

Size: 297 Bytes

Versions: 11

Compression:

Stored size: 297 Bytes

Contents

# frozen_string_literal: true

module ActiveRecord
  module ConnectionAdapters # :nodoc:
    module PostGIS
      module DatabaseStatements
        def truncate_tables(*table_names)
          table_names -= ["spatial_ref_sys"]
          super(*table_names)
        end
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
activerecord-postgis-adapter-10.0.1 lib/active_record/connection_adapters/postgis/database_statements.rb
activerecord-postgis-adapter-10.0.0 lib/active_record/connection_adapters/postgis/database_statements.rb
activerecord-postgis-adapter-9.0.2 lib/active_record/connection_adapters/postgis/database_statements.rb
activerecord-postgis-adapter-9.0.1 lib/active_record/connection_adapters/postgis/database_statements.rb
activerecord-postgis-adapter-9.0.0 lib/active_record/connection_adapters/postgis/database_statements.rb
activerecord-postgis-adapter-8.0.3 lib/active_record/connection_adapters/postgis/database_statements.rb
activerecord-postgis-adapter-8.0.2 lib/active_record/connection_adapters/postgis/database_statements.rb
activerecord-postgis-adapter-8.0.1 lib/active_record/connection_adapters/postgis/database_statements.rb
activerecord-postgis-adapter-8.0.0 lib/active_record/connection_adapters/postgis/database_statements.rb
activerecord-postgis-adapter-7.1.1 lib/active_record/connection_adapters/postgis/database_statements.rb
activerecord-postgis-adapter-6.0.3 lib/active_record/connection_adapters/postgis/database_statements.rb