Sha256: 34c563a7d00162f95e19d243d449c133092b6a84433007bebf55c72fa0631f24

Contents?: true

Size: 225 Bytes

Versions: 1

Compression:

Stored size: 225 Bytes

Contents

class AddForeignKeysToTipoExames < ActiveRecord::Migration[5.0]
  def up
    add_foreign_key :tipo_exames, :especialidades, on_delete: :cascade
  end

  def down
    remove_foreign_key :tipo_exames, :especialidades
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
omniauth-sabia-1.0.1 db/migrate/20170525104429_add_foreign_keys_to_tipo_exames.rb