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