diff options
Diffstat (limited to 'db')
-rw-r--r-- | db/migrate/087_add_about_me.rb | 11 | ||||
-rw-r--r-- | db/schema.rb | 3 |
2 files changed, 13 insertions, 1 deletions
diff --git a/db/migrate/087_add_about_me.rb b/db/migrate/087_add_about_me.rb new file mode 100644 index 000000000..9916454f3 --- /dev/null +++ b/db/migrate/087_add_about_me.rb @@ -0,0 +1,11 @@ +class AddAboutMe < ActiveRecord::Migration + def self.up + add_column :users, :about_me, :text, :null => false, :default => "" + end + + def self.down + raise "No reverse migration" + #remove_column :users, :about_me + end +end + diff --git a/db/schema.rb b/db/schema.rb index a6d5e8f55..e172a6e7e 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -9,7 +9,7 @@ # # It's strongly recommended to check this file into your version control system. -ActiveRecord::Schema.define(:version => 85) do +ActiveRecord::Schema.define(:version => 87) do create_table "acts_as_xapian_jobs", :force => true do |t| t.string "model", :null => false @@ -245,6 +245,7 @@ ActiveRecord::Schema.define(:version => 85) do t.datetime "last_daily_track_email", :default => '2000-01-01 00:00:00' t.string "admin_level", :default => "none", :null => false t.text "ban_text", :default => "", :null => false + t.text "about_me", :default => "", :null => false end add_index "users", ["url_name"], :name => "index_users_on_url_name", :unique => true |