Improved profile & team member show

This commit is contained in:
Dmitriy Zaporozhets 2012-03-24 01:01:36 +02:00
parent fea6494666
commit 1c6df8e075
9 changed files with 139 additions and 81 deletions

View file

@ -0,0 +1,5 @@
class AddBioFieldToUser < ActiveRecord::Migration
def change
add_column :users, :bio, :string, :null => true
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 => 20120315132931) do
ActiveRecord::Schema.define(:version => 20120323221339) do
create_table "events", :force => true do |t|
t.string "target_type"
@ -155,6 +155,7 @@ ActiveRecord::Schema.define(:version => 20120315132931) do
t.string "authentication_token"
t.boolean "dark_scheme", :default => false, :null => false
t.integer "theme_id", :default => 1, :null => false
t.string "bio"
end
add_index "users", ["email"], :name => "index_users_on_email", :unique => true