* Add guidebooks migration * Implement business logic for reading Guidebooks * Change to individual guidebook columns * Properly output guidebook description * Move to 1-index guidebooks * Update party-related files for 1-index guidebooks * Add tables for Siero * Add raid groups table * Update raid model To belong to the RaidGroup class * Update job class To have many job skills * Add endpoint for raid groups * Update Raid blueprint with views * Added down for creating table * Add guidebooks flag and auto summon flag * Guidebooks → RaidGroup * Auto summon → Party * Add views to Raid blueprint * Add views and guidebook flag to RaidGroup blueprint * Add auto summon and Raid view to Party blueprint
6 lines
223 B
Ruby
6 lines
223 B
Ruby
class AddRaidGroupToRaids < ActiveRecord::Migration[7.0]
|
|
def change
|
|
add_reference :raids, :group, null: true, to_table: 'raid_groups', type: :uuid
|
|
add_foreign_key :raids, :raid_groups, column: :group_id
|
|
end
|
|
end
|