mirror of
https://github.com/internetee/registry.git
synced 2025-07-21 10:16:01 +02:00
Add fields & bulk import gem
This commit is contained in:
parent
95a017629e
commit
9758c82221
5 changed files with 254 additions and 65 deletions
|
@ -3,8 +3,11 @@ class CreateEmailAddressVerifications < ActiveRecord::Migration[6.0]
|
|||
create_table :email_address_verifications do |t|
|
||||
t.string :email, null: false
|
||||
t.datetime :verified_at
|
||||
t.boolean :success, null: false, default: false
|
||||
t.string :domain, null: false
|
||||
end
|
||||
|
||||
add_index :email_address_verifications, :email, unique: true
|
||||
add_index :email_address_verifications, :domain
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue