Updates from the past fortnight

This commit is contained in:
Godwin
2015-04-14 19:41:46 -07:00
parent 37ee6cfee7
commit 14205f4586
28 changed files with 597 additions and 154 deletions
@@ -0,0 +1,12 @@
class CreateEmailConfirmations < ActiveRecord::Migration
def change
create_table :email_confirmations do |t|
t.string :token
t.integer :user_id
t.datetime :expiry
t.string :url
t.timestamps null: false
end
end
end
@@ -0,0 +1,5 @@
class AddIsTranslatorToUsers < ActiveRecord::Migration
def change
add_column :users, :is_translator, :boolean
end
end