Sha256: 42f1b34f68e9f31bb5bdbe5da7f7e8f4e176fef208a6cfd5c3b76a8cf47c0b01

Contents?: true

Size: 499 Bytes

Versions: 113

Compression:

Stored size: 499 Bytes

Contents

class AddReportingIndexes < ActiveRecord::Migration[5.1]
  # Have removed this index for now as seems to be locking
  # pathology_observations
  # and taking several minutes to complete!
  #
  # def up
  #   connection.execute(<<-SQL)
  #     CREATE INDEX pathology_observations_created_on
  #     ON pathology_observations USING btree ((created_at::date));
  #   SQL
  # end

  # def down
  #   connection.execute(<<-SQL)
  #     DROP INDEX pathology_observations_created_on;
  #   SQL
  # end
end

Version data entries

113 entries across 113 versions & 1 rubygems

Version Path
renalware-core-2.0.62 db/migrate/20180831134606_add_reporting_indexes.rb
renalware-core-2.0.61 db/migrate/20180831134606_add_reporting_indexes.rb
renalware-core-2.0.60 db/migrate/20180831134606_add_reporting_indexes.rb
renalware-core-2.0.58 db/migrate/20180831134606_add_reporting_indexes.rb
renalware-core-2.0.57 db/migrate/20180831134606_add_reporting_indexes.rb
renalware-core-2.0.56 db/migrate/20180831134606_add_reporting_indexes.rb
renalware-core-2.0.55 db/migrate/20180831134606_add_reporting_indexes.rb
renalware-core-2.0.54 db/migrate/20180831134606_add_reporting_indexes.rb
renalware-core-2.0.53 db/migrate/20180831134606_add_reporting_indexes.rb
renalware-core-2.0.52 db/migrate/20180831134606_add_reporting_indexes.rb
renalware-core-2.0.51 db/migrate/20180831134606_add_reporting_indexes.rb
renalware-core-2.0.50 db/migrate/20180831134606_add_reporting_indexes.rb
renalware-core-2.0.48 db/migrate/20180831134606_add_reporting_indexes.rb