Sha256: 3b80cd692ab89711edbead140ba24ec88694da153d8bcd6bab22ee3b7ebde470
Contents?: true
Size: 512 Bytes
Versions: 98
Compression:
Stored size: 512 Bytes
Contents
# frozen_string_literal: true class AddLetterDateIndexes < ActiveRecord::Migration[5.1] def change within_renalware_schema do add_index :letter_letters, :created_at add_index :letter_letters, :submitted_for_approval_at add_index :letter_letters, :approved_at add_index :letter_letters, :completed_at add_index :letter_letters, "(COALESCE(completed_at, approved_at, submitted_for_approval_at, created_at))", name: "letter_effective_date_idx" end end end
Version data entries
98 entries across 98 versions & 1 rubygems