Complete rename of the card progression system from "Evolution" to "Refractor" across all code, routes, models, services, seeds, and tests. - Route prefix: /api/v2/evolution → /api/v2/refractor - Model classes: EvolutionTrack → RefractorTrack, etc. - 12 files renamed, 8 files content-edited - New migration to rename DB tables - 117 tests pass, no logic changes Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
16 lines
768 B
SQL
16 lines
768 B
SQL
-- Migration: Rename evolution tables to refractor tables
|
|
-- Date: 2026-03-23
|
|
--
|
|
-- Renames all four evolution system tables to the refractor naming convention.
|
|
-- This migration corresponds to the application-level rename from
|
|
-- EvolutionTrack/EvolutionCardState/EvolutionTierBoost/EvolutionCosmetic
|
|
-- to RefractorTrack/RefractorCardState/RefractorTierBoost/RefractorCosmetic.
|
|
--
|
|
-- The table renames are performed in order that respects foreign key
|
|
-- dependencies (referenced tables first, then referencing tables).
|
|
|
|
ALTER TABLE evolution_track RENAME TO refractor_track;
|
|
ALTER TABLE evolution_card_state RENAME TO refractor_card_state;
|
|
ALTER TABLE evolution_tier_boost RENAME TO refractor_tier_boost;
|
|
ALTER TABLE evolution_cosmetic RENAME TO refractor_cosmetic;
|