diff --git a/db/migrate/20110228174632_change_certifier_description_to_text.rb b/db/migrate/20110228174632_change_certifier_description_to_text.rb new file mode 100644 index 0000000..a68e0d2 --- /dev/null +++ b/db/migrate/20110228174632_change_certifier_description_to_text.rb @@ -0,0 +1,13 @@ +class ChangeCertifierDescriptionToText < ActiveRecord::Migration + def self.up + change_table :certifiers do |t| + t.change :description, :text, :limit => nil + end + end + + def self.down + change_table :certifiers do |t| + t.change :description, :string + end + end +end diff --git a/db/schema.rb b/db/schema.rb index 800905a..267cc27 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 => 20110222211802) do +ActiveRecord::Schema.define(:version => 20110228174632) do create_table "action_tracker", :force => true do |t| t.integer "user_id" @@ -31,8 +31,8 @@ ActiveRecord::Schema.define(:version => 20110222211802) do t.integer "profile_id" end + add_index "action_tracker_notifications", ["action_tracker_id", "profile_id"], :name => "index_action_tracker_notifications_on_profile_id_and_action_tra", :unique => true add_index "action_tracker_notifications", ["action_tracker_id"], :name => "index_action_tracker_notifications_on_action_tracker_id" - add_index "action_tracker_notifications", ["profile_id", "action_tracker_id"], :name => "index_action_tracker_notifications_on_profile_id_and_action_tracker_id", :unique => true add_index "action_tracker_notifications", ["profile_id"], :name => "index_action_tracker_notifications_on_profile_id" create_table "article_versions", :force => true do |t| @@ -179,7 +179,7 @@ ActiveRecord::Schema.define(:version => 20110222211802) do create_table "certifiers", :force => true do |t| t.string "name", :null => false - t.string "description" + t.text "description" t.string "link" t.integer "environment_id" t.datetime "created_at" -- libgit2 0.21.2