mirror of
http://172.20.10.11:3000/gitadmin/INSIGHT-MVP.git
synced 2026-06-25 00:16:41 +02:00
- Phase 2.3 Forecast: probability-Feld in PipelineStage, GET /crm/deals/forecast Endpoint - Phase 2.2 Import: ImportModule mit preview/execute/history Endpoints (CSV, XLSX, vCard) - Phase 2.4 Enrichment: EnrichmentModule mit /enrich + /settings/integrations/north-data - Contracts: ContractsModule mit CRUD + File-Upload Endpoints (Multer, max 25MB) - Migrations: 20260312_contract_files, 20260312_phase23_forecast - docker-compose.crm.yml: uploads Volume für Vertragsdokumente Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
10 lines
472 B
SQL
10 lines
472 B
SQL
-- ============================================================
|
|
-- Phase 2.3: Forecast — Wahrscheinlichkeit auf Pipeline-Stufen
|
|
-- ============================================================
|
|
|
|
-- Neue Spalte probability auf pipeline_stages
|
|
ALTER TABLE "app_crm"."pipeline_stages"
|
|
ADD COLUMN "probability" DECIMAL(3, 2) NOT NULL DEFAULT 0;
|
|
|
|
COMMENT ON COLUMN "app_crm"."pipeline_stages"."probability"
|
|
IS 'Abschlusswahrscheinlichkeit 0.00 bis 1.00 (z.B. 0.75 = 75%)';
|