diff --git a/db/migrate/20150422223156_change_package_longdescription_to_text.rb b/db/migrate/20150422223156_change_package_longdescription_to_text.rb new file mode 100644 index 0000000..80ac3a4 --- /dev/null +++ b/db/migrate/20150422223156_change_package_longdescription_to_text.rb @@ -0,0 +1,5 @@ +class ChangePackageLongdescriptionToText < ActiveRecord::Migration + def change + change_column :packages, :long_description, :text + end +end diff --git a/db/schema.rb b/db/schema.rb index 489ff6c..61b2333 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -11,7 +11,7 @@ # # It's strongly recommended that you check this file into your version control system. -ActiveRecord::Schema.define(version: 20150103194230) do +ActiveRecord::Schema.define(version: 20150422223156) do # These are extensions that must be enabled in order to support this database enable_extension "plpgsql" @@ -31,7 +31,7 @@ ActiveRecord::Schema.define(version: 20150103194230) do t.string "maintainer_email", limit: 100 t.string "homepage", limit: 400 t.string "version", limit: 200 - t.string "long_description", limit: 2000 + t.text "long_description" t.string "origin", limit: 80 t.datetime "created_at" t.datetime "updated_at"