hensei-api/db/migrate/20260106104115_add_summon_id_to_raids.rb
Justin Edmund c8f7204b08
Add game_id to raids (#208)
* add game_id to raids

* rename game_id to enemy_id, add summon_id

* add raid image downloader

* add download endpoints for raid images

- download_image action for single image download (icon/thumbnail)
- download_images action to queue async download job
- download_status action to check job progress

* add quest_id and lobby/background image sizes for raids

- add quest_id column to raids table
- add lobby and background image downloads using quest_id
- lobby uses quest_id with "1" appended
- background uses quest_id for treasureraid directory
2026-01-07 23:59:20 -08:00

5 lines
122 B
Ruby

class AddSummonIdToRaids < ActiveRecord::Migration[8.0]
def change
add_column :raids, :summon_id, :bigint
end
end