Files
grecia/db/migrate/20150822095305_create_verified_users.rb
2015-08-28 00:02:01 +02:00

15 lines
355 B
Ruby

class CreateVerifiedUsers < ActiveRecord::Migration
def change
unless ActiveRecord::Base.connection.table_exists? 'verified_users'
create_table :verified_users do |t|
t.string :document_number
t.string :document_type
t.string :phone
t.string :email
t.timestamps null: false
end
end
end
end