extended user profile with social fields
This commit is contained in:
parent
9ad444f02e
commit
59704f481e
10 changed files with 93 additions and 4 deletions
7
db/migrate/20111019212429_add_social_to_user.rb
Normal file
7
db/migrate/20111019212429_add_social_to_user.rb
Normal 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
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue