0
0
Fork 0

Fix featured tags not saving preferred casing (#19732)

This commit is contained in:
Eugen Rochko 2022-11-04 16:08:29 +01:00 committed by GitHub
parent f002878c95
commit b1a219552e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 18 additions and 17 deletions

View file

@ -0,0 +1,5 @@
class AddNameToFeaturedTags < ActiveRecord::Migration[6.1]
def change
add_column :featured_tags, :name, :string
end
end

View file

@ -10,7 +10,7 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema.define(version: 2022_11_01_190723) do
ActiveRecord::Schema.define(version: 2022_11_04_133904) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
@ -442,6 +442,7 @@ ActiveRecord::Schema.define(version: 2022_11_01_190723) do
t.datetime "last_status_at"
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
t.string "name"
t.index ["account_id", "tag_id"], name: "index_featured_tags_on_account_id_and_tag_id", unique: true
t.index ["tag_id"], name: "index_featured_tags_on_tag_id"
end