class CreateAPISubjects < ActiveRecord::Migration
  def change
    create_table :api_subjects do |t|
      t.references :provider, null: false, default: nil
      t.string :x509_cn, null: false, default: nil
      t.string :name, null: false, default: nil
      t.timestamps
    end
  end
end

class CreateAPISubjects < ActiveRecord::Migration
  def change
    create_table :api_subjects do |t|
      t.references :provider, null: false, default: nil
      t.string :x509_cn, null: false, default: nil
      t.string :name, null: false, default: nil
      t.string :contact_name, null: false, default: nil
      t.string :contact_mail, null: false, default: nil
      t.timestamps
    end
  end
end

Add contact details to api_subjects table
Add contact details to api_subjects table

An API user needs a contactable person in the event that we need to get
in touch about something.
