add aux_weapon flag to jobs
This commit is contained in:
parent
0c595792f7
commit
af061f3ab2
2 changed files with 8 additions and 1 deletions
|
|
@ -19,7 +19,7 @@ module Api
|
|||
|
||||
fields :granblue_id, :row, :order,
|
||||
:master_level, :ultimate_mastery,
|
||||
:accessory, :accessory_type
|
||||
:accessory, :accessory_type, :aux_weapon
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
|||
7
db/migrate/20251218100000_add_aux_weapon_to_jobs.rb
Normal file
7
db/migrate/20251218100000_add_aux_weapon_to_jobs.rb
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
class AddAuxWeaponToJobs < ActiveRecord::Migration[8.0]
|
||||
def change
|
||||
add_column :jobs, :aux_weapon, :boolean, default: false
|
||||
end
|
||||
end
|
||||
Loading…
Reference in a new issue