now you can view comrade profile info #134
This commit is contained in:
parent
b3279b9b51
commit
9fa4df16ec
7 changed files with 58 additions and 8 deletions
10
db/migrate/20111021101550_change_social_fields_in_users.rb
Normal file
10
db/migrate/20111021101550_change_social_fields_in_users.rb
Normal file
|
@ -0,0 +1,10 @@
|
|||
class ChangeSocialFieldsInUsers < ActiveRecord::Migration
|
||||
def up
|
||||
change_column(:users, :skype, :string, {:null => false, :default => ''})
|
||||
change_column(:users, :linkedin, :string, {:null => false, :default => ''})
|
||||
change_column(:users, :twitter, :string, {:null => false, :default => ''})
|
||||
end
|
||||
|
||||
def down
|
||||
end
|
||||
end
|
|
@ -11,7 +11,7 @@
|
|||
#
|
||||
# It's strongly recommended to check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema.define(:version => 20111019212429) do
|
||||
ActiveRecord::Schema.define(:version => 20111021101550) do
|
||||
|
||||
create_table "issues", :force => true do |t|
|
||||
t.string "title"
|
||||
|
@ -82,9 +82,9 @@ ActiveRecord::Schema.define(:version => 20111019212429) 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"
|
||||
t.string "skype", :default => "", :null => false
|
||||
t.string "linkedin", :default => "", :null => false
|
||||
t.string "twitter", :default => "", :null => false
|
||||
end
|
||||
|
||||
add_index "users", ["email"], :name => "index_users_on_email", :unique => true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue