     ort_pos_hoehe bigint,
     ort_richtung smallint,
     ort_druckname character varying(40),
-    richtungswechsel 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) = 'POINT'::text) OR (the_geom IS NULL))),
-    CONSTRAINT enforce_srid_the_geom CHECK ((public.st_srid(the_geom) = 25832))
-);
-
+    richtungswechsel smallint
+);
+
+SELECT AddGeometryColumn('vdv', 'rec_ort', 'the_geom', 25832, 'POINT', 2); 
 
 --
 -- TOC entry 175 (class 1259 OID 591735)

    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))
);


--
-- TOC entry 3812 (class 0 OID 0)
-- Dependencies: 183

    aussteigeverbot smallint,
    zone_wabe_nr smallint,
    kurzstrecke smallint,
    halte_typ smallint
);

SELECT AddGeometryColumn('vdv', 'lid_verlauf', 'the_geom', 25832, 'LINESTRING', 2); 

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