MIGRATION VERS GITEA
This commit is contained in:
commit
5f9d991c15
333 files changed
+108514
No files matched your search
@@ -0,0 +1,20 @@
|
||||
-- ============================================================================
|
||||
-- MIGRATION : Ajout de la colonne quais_hall (JSONB) dans la table gares
|
||||
-- Date : 2026-06-10
|
||||
-- Description : Stocke l'association entre les halls et les quais au format JSON.
|
||||
-- Structure :
|
||||
-- {
|
||||
-- "hall": {
|
||||
-- "Nom du hall": ["Voie A", "Voie B"]
|
||||
-- }
|
||||
-- }
|
||||
--
|
||||
-- ⚠️ À EXÉCUTER dans l'éditeur SQL Supabase :
|
||||
-- https://supabase.com/dashboard → votre projet → SQL Editor
|
||||
-- ============================================================================
|
||||
|
||||
ALTER TABLE public.gares
|
||||
ADD COLUMN IF NOT EXISTS quais_hall JSONB DEFAULT '{"hall": {}}'::jsonb;
|
||||
|
||||
COMMENT ON COLUMN public.gares.quais_hall IS
|
||||
'Association des quais aux halls sous forme JSON : {"hall": {"Nom du Hall": ["Quai 1", "Quai 2"]}}';
|
||||
Reference in new issue
Block a user