Add Ultimate Mastery
This commit is contained in:
parent
71a217d33f
commit
1fe6f45cae
3 changed files with 10 additions and 2 deletions
|
|
@ -17,7 +17,9 @@ module Api
|
|||
]
|
||||
end
|
||||
|
||||
fields :granblue_id, :row, :master_level, :order, :accessory, :accessory_type
|
||||
fields :granblue_id, :row, :order,
|
||||
:master_level, :ultimate_mastery,
|
||||
:accessory, :accessory_type
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
|||
|
|
@ -71,7 +71,7 @@ module Api
|
|||
|
||||
fields :local_id, :description, :charge_attack,
|
||||
:button_count, :turn_count, :chain_count,
|
||||
:master_level
|
||||
:master_level, :ultimate_mastery
|
||||
|
||||
association :accessory,
|
||||
blueprint: JobAccessoryBlueprint
|
||||
|
|
|
|||
6
db/migrate/20230315103026_add_ultimate_mastery.rb
Normal file
6
db/migrate/20230315103026_add_ultimate_mastery.rb
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
class AddUltimateMastery < ActiveRecord::Migration[7.0]
|
||||
def change
|
||||
add_column :parties, :ultimate_mastery, :integer, null: true
|
||||
add_column :jobs, :ultimate_mastery, :boolean, default: false, null: false
|
||||
end
|
||||
end
|
||||
Loading…
Reference in a new issue