Updates from the past fortnight
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user