Added migration to make package.long_description a longer text field

This commit is contained in:
Christoph Haas 2015-04-23 17:19:11 +02:00
parent 754953a653
commit f741112818
2 changed files with 7 additions and 2 deletions

View file

@ -0,0 +1,5 @@
class ChangePackageLongdescriptionToText < ActiveRecord::Migration
def change
change_column :packages, :long_description, :text
end
end

View file

@ -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"