Sha256: e04a76607b22fc3a954f42a25868fbbad00b61ddae9f538d28ae684067405769

Contents?: true

Size: 604 Bytes

Versions: 177

Compression:

Stored size: 604 Bytes

Contents

class AddAccountableToModalityModalities < ActiveRecord::Migration[4.2]
  def change
    add_column :modality_modalities, :created_by_id, :integer, null: false
    add_column :modality_modalities, :updated_by_id, :integer, null: false
    add_index :modality_modalities, :created_by_id
    add_index :modality_modalities, :updated_by_id

    add_foreign_key "modality_modalities", "users", column: "created_by_id",
      name: "modality_modalities_created_by_id_fk"
    add_foreign_key "modality_modalities", "users", column: "updated_by_id",
      name: "modality_modalities_updated_by_id_fk"
  end
end

Version data entries

177 entries across 177 versions & 1 rubygems

Version Path
renalware-core-2.1.1 db/migrate/20161215090417_add_accountable_to_modality_modalities.rb
renalware-core-2.1.0 db/migrate/20161215090417_add_accountable_to_modality_modalities.rb
renalware-core-2.0.167 db/migrate/20161215090417_add_accountable_to_modality_modalities.rb
renalware-core-2.0.166 db/migrate/20161215090417_add_accountable_to_modality_modalities.rb
renalware-core-2.0.165 db/migrate/20161215090417_add_accountable_to_modality_modalities.rb
renalware-core-2.0.164 db/migrate/20161215090417_add_accountable_to_modality_modalities.rb
renalware-core-2.0.163 db/migrate/20161215090417_add_accountable_to_modality_modalities.rb
renalware-core-2.0.162 db/migrate/20161215090417_add_accountable_to_modality_modalities.rb
renalware-core-2.0.161 db/migrate/20161215090417_add_accountable_to_modality_modalities.rb
renalware-core-2.0.160 db/migrate/20161215090417_add_accountable_to_modality_modalities.rb
renalware-core-2.0.159 db/migrate/20161215090417_add_accountable_to_modality_modalities.rb
renalware-core-2.0.158 db/migrate/20161215090417_add_accountable_to_modality_modalities.rb
renalware-core-2.0.157 db/migrate/20161215090417_add_accountable_to_modality_modalities.rb
renalware-core-2.0.156 db/migrate/20161215090417_add_accountable_to_modality_modalities.rb
renalware-core-2.0.155 db/migrate/20161215090417_add_accountable_to_modality_modalities.rb
renalware-core-2.0.153 db/migrate/20161215090417_add_accountable_to_modality_modalities.rb
renalware-core-2.0.152 db/migrate/20161215090417_add_accountable_to_modality_modalities.rb
renalware-core-2.0.151 db/migrate/20161215090417_add_accountable_to_modality_modalities.rb
renalware-core-2.0.149 db/migrate/20161215090417_add_accountable_to_modality_modalities.rb
renalware-core-2.0.148 db/migrate/20161215090417_add_accountable_to_modality_modalities.rb