class CreateDcsContributors < ActiveRecord::Migration[4.2]
  def change
    create_table :dcs_contributors do |t|
      t.string :contributor_name
      t.column :contributor_type, "ENUM('funder') DEFAULT 'funder'"
      t.integer :name_identifier_id
      t.integer :affliation_id
      t.integer :resource_id

      t.timestamps null: false
    end
  end
end
