refactor(clubSettings): remove myTischtennis club ID and update related logic
- Removed the myTischtennis club ID field from club settings and related backend logic. - Updated the database migration to eliminate the my_tischtennis_club_id column. - Adjusted frontend components and services to reflect the removal of the club ID, ensuring the use of association member number instead. - Enhanced user interface hints to clarify the use of association member number for rankings.
This commit is contained in:
@@ -1,9 +1,8 @@
|
||||
-- Migration: Add myTischtennis rankings settings to clubs table
|
||||
-- Enables per-club configuration of TTR/QTTR rankings fetch (club ID, federation, enable flag)
|
||||
-- Enables per-club configuration of TTR/QTTR rankings fetch.
|
||||
-- Club number comes from association_member_number (Verbands-Mitgliedsnummer).
|
||||
|
||||
ALTER TABLE clubs
|
||||
ADD COLUMN IF NOT EXISTS my_tischtennis_club_id VARCHAR(50) NULL
|
||||
COMMENT 'myTischtennis club number for rankings (e.g. 43030)',
|
||||
ADD COLUMN IF NOT EXISTS my_tischtennis_fed_nickname VARCHAR(50) NULL
|
||||
COMMENT 'Federation short name for rankings (e.g. HeTTV)',
|
||||
ADD COLUMN IF NOT EXISTS auto_fetch_rankings BOOLEAN NOT NULL DEFAULT FALSE
|
||||
|
||||
Reference in New Issue
Block a user