     delay_sec integer NOT NULL,
     insert_date timestamp(0) without time zone DEFAULT now() NOT NULL,
     frt_fid bigint NOT NULL,
-    the_geom public.geometry,
     li_lfd_nr smallint,
     li_nr integer,
     str_li_var character(6),
     interpolation_linear_ref double precision,
     interpolation_distance double precision,
     extrapolation_linear_ref double precision,
-    extrapolation_geom public.geometry,
     arrival_time timestamp without time zone,
-    status character(1),
-    CONSTRAINT enforce_dims_extrapolation_geom CHECK ((public.st_ndims(extrapolation_geom) = 2)),
-    CONSTRAINT enforce_dims_the_geom CHECK ((public.st_ndims(the_geom) = 2)),
-    CONSTRAINT enforce_geotype_extrapolation_geom CHECK (((public.geometrytype(extrapolation_geom) = 'POINT'::text) OR (extrapolation_geom IS NULL))),
-    CONSTRAINT enforce_geotype_the_geom CHECK (((public.geometrytype(the_geom) = 'POINT'::text) OR (the_geom IS NULL))),
-    CONSTRAINT enforce_srid_extrapolation_geom CHECK ((public.st_srid(extrapolation_geom) = 25832)),
-    CONSTRAINT enforce_srid_the_geom CHECK ((public.st_srid(the_geom) = 25832))
-);
-
-
+    status character(1)
+);
+
+
+SELECT AddGeometryColumn('vdv', 'vehicle_position_act', 'the_geom', 25832, 'POINT', 2); 
+SELECT AddGeometryColumn('vdv', 'vehicle_position_act', 'extrapolation_geom', 25832, 'POINT', 2); 
 --
 -- TOC entry 3812 (class 0 OID 0)
 -- Dependencies: 183

    aussteigeverbot smallint,
    zone_wabe_nr smallint,
    kurzstrecke smallint,
    halte_typ smallint,
    the_geom public.geometry,
    CONSTRAINT enforce_dims_the_geom CHECK ((public.st_ndims(the_geom) = 2)),
    CONSTRAINT enforce_geotype_the_geom CHECK (((public.geometrytype(the_geom) = 'LINESTRING'::text) OR (the_geom IS NULL))),
    CONSTRAINT enforce_srid_the_geom CHECK ((public.st_srid(the_geom) = 25832))
);


--
-- TOC entry 169 (class 1259 OID 591702)



--
-- TOC entry 3736 (class 2606 OID 591774)
-- Dependencies: 167 167 3806
-- Name: firmenkalender_pkey; Type: CONSTRAINT; Schema: vdv; Owner: -
