Skip to content

Commit

Permalink
Add avatar_url to user models
Browse files Browse the repository at this point in the history
  • Loading branch information
Rich Daley committed Jul 28, 2012
1 parent d8fc6b6 commit 315b39e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions db/migrate/20120728153925_add_avatar_url_to_users.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
class AddAvatarUrlToUsers < ActiveRecord::Migration
def change
add_column :users, :avatar_url, :string
end
end
3 changes: 2 additions & 1 deletion db/schema.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#
# It's strongly recommended to check this file into your version control system.

ActiveRecord::Schema.define(:version => 20120728152035) do
ActiveRecord::Schema.define(:version => 20120728153925) do

create_table "choices", :force => true do |t|
t.integer "topic_id"
Expand Down Expand Up @@ -62,6 +62,7 @@
t.datetime "created_at", :null => false
t.datetime "updated_at", :null => false
t.integer "position"
t.string "avatar_url"
end

end

0 comments on commit 315b39e

Please sign in to comment.