Sha256: 9c25550c919c48f2af3fbcaa207ffbf607aa3efd686e4fe3301aa17973eb554b
Contents?: true
Size: 1.1 KB
Versions: 98
Compression:
Stored size: 1.1 KB
Contents
class AddDisplayGroupToObservationDesriptions < ActiveRecord::Migration[5.1] def change within_renalware_schema do 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 end
Version data entries
98 entries across 98 versions & 1 rubygems