hensei-api/db/migrate/20230820113900_add_nicknames_to_weapons.rb

6 lines
298 B
Ruby

class AddNicknamesToWeapons < ActiveRecord::Migration[7.0]
def change
add_column :weapons, :nicknames_en, :string, array: true, default: [], null: false, if_not_exists: true
add_column :weapons, :nicknames_jp, :string, array: true, default: [], null: false, if_not_exists: true
end
end