Revert "Registry 663"

This commit is contained in:
Timo Võhmar 2018-02-01 16:15:45 +02:00 committed by GitHub
parent 7ed42b6e82
commit 1690f49575
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
26 changed files with 165 additions and 308 deletions

View file

@ -1,5 +0,0 @@
class RemoveDomainContactsContactType < ActiveRecord::Migration
def change
remove_column :domain_contacts, :contact_type, :string
end
end

View file

@ -1,5 +0,0 @@
class AddDomainContactsContactIdFk < ActiveRecord::Migration
def change
add_foreign_key :domain_contacts, :contacts, name: 'domain_contacts_contact_id_fk'
end
end

View file

@ -1,5 +0,0 @@
class AddDomainContactsDomainIdFk < ActiveRecord::Migration
def change
add_foreign_key :domain_contacts, :domains, name: 'domain_contacts_domain_id_fk'
end
end