Sha256: 13db63f8ab1032385142e7d40dab0d90cb23affe204dbfafc4b9b3a488fc2d8b
Contents?: true
Size: 1.03 KB
Versions: 60
Compression:
Stored size: 1.03 KB
Contents
class AddDisplayGroupToObservationDesriptions < ActiveRecord::Migration[5.1] def change remove_column :pathology_observation_descriptions, :display_order, :integer remove_column :pathology_observation_descriptions, :display_order_letters, :integer add_column :pathology_observation_descriptions, :display_group, :integer add_column :pathology_observation_descriptions, :display_order, :integer add_column :pathology_observation_descriptions, :letter_group, :integer add_column :pathology_observation_descriptions, :letter_order, :integer # Only allow an obs desc to be in a group exactly once add_index :pathology_observation_descriptions, [:display_group, :display_order], name: :obx_unique_display_grouping add_index :pathology_observation_descriptions, [:letter_group, :letter_order], name: :obx_unique_letter_grouping end end
Version data entries
60 entries across 60 versions & 1 rubygems