Fix featured tags not saving preferred casing (#19732)
This commit is contained in:
parent
f002878c95
commit
b1a219552e
4 changed files with 18 additions and 17 deletions
5
db/migrate/20221104133904_add_name_to_featured_tags.rb
Normal file
5
db/migrate/20221104133904_add_name_to_featured_tags.rb
Normal file
|
@ -0,0 +1,5 @@
|
|||
class AddNameToFeaturedTags < ActiveRecord::Migration[6.1]
|
||||
def change
|
||||
add_column :featured_tags, :name, :string
|
||||
end
|
||||
end
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue