Add Ultimate Mastery

This commit is contained in:
Justin Edmund 2023-03-15 04:03:25 -07:00
parent 71a217d33f
commit 1fe6f45cae
3 changed files with 10 additions and 2 deletions

View file

@ -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

View file

@ -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

View 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