Skip to content

Commit

Permalink
arf-80297 add ARP verified_representative migration
Browse files Browse the repository at this point in the history
  • Loading branch information
gabezurita committed Apr 25, 2024
1 parent 4f082e5 commit c6f1621
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# frozen_string_literal: true

class CreateAccreditedRepresentativePortalVerifiedRepresentatives < ActiveRecord::Migration[7.1]
def change
create_table :accredited_representative_portal_verified_representatives do |t|
t.string :ogc_registration_number, null: false
t.string :first_name
t.string :last_name
t.string :middle_initial
t.string :email, null: false

t.timestamps

t.index 'ogc_registration_number', unique: true, name: 'index_verified_representatives_on_ogc_number'
t.index 'email', unique: true, name: 'index_verified_representatives_on_email'
end
end
end
12 changes: 11 additions & 1 deletion db/schema.rb

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit c6f1621

Please sign in to comment.