* 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
9 lines
176 B
Ruby
9 lines
176 B
Ruby
# frozen_string_literal: true
|
|
|
|
class Raid < ApplicationRecord
|
|
belongs_to :group, class_name: 'RaidGroup', foreign_key: :group_id
|
|
|
|
def blueprint
|
|
RaidBlueprint
|
|
end
|
|
end
|