21 lines
470 B
Crystal
21 lines
470 B
Crystal
require "jennifer"
|
|
|
|
class CreateUnverifiedusers < Jennifer::Migration::Base
|
|
def up
|
|
create_table :unverifiedusers do |t|
|
|
t.string :id, {:primary => true}
|
|
t.string :email
|
|
t.bool :discord_only_account
|
|
t.string :discord_id, {:null => true}
|
|
t.string :password_hash, {:null => true}
|
|
t.string :verification_token
|
|
|
|
t.timestamps
|
|
end
|
|
end
|
|
|
|
def down
|
|
drop_table :unverifiedusers if table_exists? :unverifiedusers
|
|
end
|
|
end
|