extended user profile with social fields

This commit is contained in:
Aleksei Kvitinskii 2011-10-20 01:34:05 +03:00
parent 9ad444f02e
commit 59704f481e
10 changed files with 93 additions and 4 deletions

View file

@ -0,0 +1,7 @@
class AddSocialToUser < ActiveRecord::Migration
def change
add_column :users, :skype, :string
add_column :users, :linkedin, :string
add_column :users, :twitter, :string
end
end

View file

@ -11,7 +11,7 @@
#
# It's strongly recommended to check this file into your version control system.
ActiveRecord::Schema.define(:version => 20111016195506) do
ActiveRecord::Schema.define(:version => 20111019212429) do
create_table "issues", :force => true do |t|
t.string "title"
@ -82,6 +82,9 @@ ActiveRecord::Schema.define(:version => 20111016195506) do
t.string "name"
t.boolean "admin", :default => false, :null => false
t.integer "projects_limit", :default => 10
t.string "skype"
t.string "linkedin"
t.string "twitter"
end
add_index "users", ["email"], :name => "index_users_on_email", :unique => true