9 lines
297 B
Ruby
9 lines
297 B
Ruby
class CreateRegisterTokens < ActiveRecord::Migration
|
|
def change
|
|
create_table :register_tokens do |t|
|
|
t.string :uuid, limit: 32, unique: true, primary: true, null: false
|
|
t.string :token, limit: 6, null: false
|
|
t.string :email, unique: true, null: false
|
|
end
|
|
end
|
|
end |