Added migration to make package.long_description a longer text field
This commit is contained in:
parent
754953a653
commit
f741112818
2 changed files with 7 additions and 2 deletions
|
|
@ -0,0 +1,5 @@
|
||||||
|
class ChangePackageLongdescriptionToText < ActiveRecord::Migration
|
||||||
|
def change
|
||||||
|
change_column :packages, :long_description, :text
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
@ -11,7 +11,7 @@
|
||||||
#
|
#
|
||||||
# It's strongly recommended that you check this file into your version control system.
|
# 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
|
# These are extensions that must be enabled in order to support this database
|
||||||
enable_extension "plpgsql"
|
enable_extension "plpgsql"
|
||||||
|
|
@ -31,7 +31,7 @@ ActiveRecord::Schema.define(version: 20150103194230) do
|
||||||
t.string "maintainer_email", limit: 100
|
t.string "maintainer_email", limit: 100
|
||||||
t.string "homepage", limit: 400
|
t.string "homepage", limit: 400
|
||||||
t.string "version", limit: 200
|
t.string "version", limit: 200
|
||||||
t.string "long_description", limit: 2000
|
t.text "long_description"
|
||||||
t.string "origin", limit: 80
|
t.string "origin", limit: 80
|
||||||
t.datetime "created_at"
|
t.datetime "created_at"
|
||||||
t.datetime "updated_at"
|
t.datetime "updated_at"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue