forked from OpenNeo/impress
Emi Matchu
c8e53165c7
Okay cool, we're successfully migrated off translations, we can delete the table now! I'm not worried about backing up this data as such, because the impress-2020 repo has a bunch of this data in its `public-data-from-modeling.sql.gz` file history. Safe to remove from the live app!
17 lines
718 B
Ruby
17 lines
718 B
Ruby
class DropItemTranslations < ActiveRecord::Migration[7.1]
|
|
def change
|
|
drop_table "item_translations", id: :integer, charset: "latin1", collation: "latin1_swedish_ci", force: :cascade do |t|
|
|
t.integer "item_id"
|
|
t.string "locale"
|
|
t.string "name"
|
|
t.text "description"
|
|
t.string "rarity"
|
|
t.datetime "created_at", precision: nil
|
|
t.datetime "updated_at", precision: nil
|
|
t.index ["item_id", "locale"], name: "index_item_translations_on_item_id_and_locale"
|
|
t.index ["item_id"], name: "index_item_translations_on_item_id"
|
|
t.index ["locale"], name: "index_item_translations_on_locale"
|
|
t.index ["name"], name: "index_item_translations_name"
|
|
end
|
|
end
|
|
end
|