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:
Torsten Schulz (local)
2026-03-12 10:34:10 +01:00
parent ad09a45b17
commit a030e07b46
7 changed files with 9 additions and 28 deletions

View File

@@ -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