Skip to content
Browse files

Add email to user

  • Loading branch information...
1 parent 4a8308f commit 4e981cb861fd4cb947ce9e83ca5f7d62d3d44fc8 @piotrj piotrj committed
Showing with 7 additions and 1 deletion.
  1. +5 −0 db/migrate/20111129160159_add_email_to_user.rb
  2. +2 −1 db/schema.rb
View
5 db/migrate/20111129160159_add_email_to_user.rb
@@ -0,0 +1,5 @@
+class AddEmailToUser < ActiveRecord::Migration
+ def change
+ add_column :users, :email, :string
+ end
+end
View
3 db/schema.rb
@@ -11,13 +11,14 @@
#
# It's strongly recommended to check this file into your version control system.
-ActiveRecord::Schema.define(:version => 20111129145352) do
+ActiveRecord::Schema.define(:version => 20111129160159) do
create_table "users", :force => true do |t|
t.integer "doorkeeper_uid"
t.datetime "created_at"
t.datetime "updated_at"
t.string "doorkeeper_access_token"
+ t.string "email"
end
end

0 comments on commit 4e981cb

Please sign in to comment.
Something went wrong with that request. Please try again.