Skip to content

Commit

Permalink
Remove ', limit: 255' from schema
Browse files Browse the repository at this point in the history
Running rake db:migrate had added these limits to the schema automatically. This reverts them.
  • Loading branch information
rietta committed May 15, 2020
1 parent 3fe6126 commit e45e77d
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions db/schema.rb
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,13 @@
end

create_table "dependencies", id: :serial, force: :cascade do |t|
t.string "requirements", limit: 255
t.string "requirements"
t.datetime "created_at"
t.datetime "updated_at"
t.integer "rubygem_id"
t.integer "version_id"
t.string "scope", limit: 255
t.string "unresolved_name", limit: 255
t.string "scope"
t.string "unresolved_name"
t.index ["rubygem_id"], name: "index_dependencies_on_rubygem_id"
t.index ["unresolved_name"], name: "index_dependencies_on_unresolved_name"
t.index ["version_id"], name: "index_dependencies_on_version_id"
Expand All @@ -76,12 +76,12 @@

create_table "linksets", id: :serial, force: :cascade do |t|
t.integer "rubygem_id"
t.string "home", limit: 255
t.string "wiki", limit: 255
t.string "docs", limit: 255
t.string "mail", limit: 255
t.string "code", limit: 255
t.string "bugs", limit: 255
t.string "home"
t.string "wiki"
t.string "docs"
t.string "mail"
t.string "code"
t.string "bugs"
t.datetime "created_at"
t.datetime "updated_at"
t.index ["rubygem_id"], name: "index_linksets_on_rubygem_id"
Expand Down Expand Up @@ -110,10 +110,10 @@
end

create_table "rubygems", id: :serial, force: :cascade do |t|
t.string "name", limit: 255
t.string "name"
t.datetime "created_at"
t.datetime "updated_at"
t.string "slug", limit: 255
t.string "slug"
t.index "regexp_replace(upper((name)::text), '[_-]'::text, ''::text, 'g'::text)", name: "dashunderscore_typos_idx"
t.index "upper((name)::text) varchar_pattern_ops", name: "index_rubygems_upcase"
t.index ["name"], name: "index_rubygems_on_name", unique: true
Expand Down Expand Up @@ -174,23 +174,23 @@
create_table "versions", id: :serial, force: :cascade do |t|
t.text "authors"
t.text "description"
t.string "number", limit: 255
t.string "number"
t.integer "rubygem_id"
t.datetime "built_at"
t.datetime "updated_at"
t.text "summary"
t.string "platform", limit: 255
t.string "platform"
t.datetime "created_at"
t.boolean "indexed", default: true
t.boolean "prerelease"
t.integer "position"
t.boolean "latest"
t.string "full_name", limit: 255
t.string "licenses", limit: 255
t.string "full_name"
t.string "licenses"
t.integer "size"
t.text "requirements"
t.string "required_ruby_version", limit: 255
t.string "sha256", limit: 255
t.string "required_ruby_version"
t.string "sha256"
t.hstore "metadata", default: {}, null: false
t.string "required_rubygems_version"
t.datetime "yanked_at"
Expand Down

0 comments on commit e45e77d

Please sign in to comment.