ALTER TABLE agendas
ADD COLUMN IF NOT EXISTS prestation_id UUID REFERENCES prestations(id) ON DELETE SET NULL;

CREATE INDEX IF NOT EXISTS agendas_prestation_id_idx ON agendas (prestation_id);
