diff options
Diffstat (limited to 'db')
-rw-r--r-- | db/migrate/20120323221339_add_bio_field_to_user.rb | 5 | ||||
-rw-r--r-- | db/schema.rb | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/db/migrate/20120323221339_add_bio_field_to_user.rb b/db/migrate/20120323221339_add_bio_field_to_user.rb new file mode 100644 index 00000000000..80a4dec5971 --- /dev/null +++ b/db/migrate/20120323221339_add_bio_field_to_user.rb @@ -0,0 +1,5 @@ +class AddBioFieldToUser < ActiveRecord::Migration + def change + add_column :users, :bio, :string, :null => true + end +end diff --git a/db/schema.rb b/db/schema.rb index e224aa2c100..c76fd9b5d98 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -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 |