Skip to content

Commit

Permalink
remove foreign key
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Fenner committed Aug 3, 2020
1 parent 81b0738 commit 863534d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion db/migrate/20200718191826_add_type_to_doi.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

class AddTypeToDoi < ActiveRecord::Migration[5.2]
def up
# remove_foreign_key "dataset", "datacentre"
remove_foreign_key "dataset", "datacentre"
add_column :dataset, :type, :string, limit: 16
change_column_default :dataset, :type, "DataCiteDoi"
add_index :dataset, [:type], name: "index_dataset_on_type", length: { type: 16 }
Expand Down

0 comments on commit 863534d

Please sign in to comment.