Grund: PostgreSQL ab Version 8 legt OIDs normalerweise nicht automatisch
mit an, es sei denn, es ist in der Clusterkonfiguration explizit wieder
aktiviert worden.
Fix für Bug 941.
FOREIGN KEY (parts_id) REFERENCES parts (id),
FOREIGN KEY (project_id) REFERENCES project (id),
FOREIGN KEY (price_factor_id) REFERENCES price_factors (id)
FOREIGN KEY (parts_id) REFERENCES parts (id),
FOREIGN KEY (project_id) REFERENCES project (id),
FOREIGN KEY (price_factor_id) REFERENCES price_factors (id)
CREATE TRIGGER mtime_delivery_order_items_id BEFORE UPDATE ON delivery_order_items
FOR EACH ROW EXECUTE PROCEDURE set_mtime();
CREATE TRIGGER mtime_delivery_order_items_id BEFORE UPDATE ON delivery_order_items
FOR EACH ROW EXECUTE PROCEDURE set_mtime();
not_discountable boolean DEFAULT false,
buchungsgruppen_id integer,
payment_id integer
not_discountable boolean DEFAULT false,
buchungsgruppen_id integer,
payment_id integer
taxkey integer,
itime timestamp without time zone DEFAULT now(),
mtime timestamp without time zone
taxkey integer,
itime timestamp without time zone DEFAULT now(),
mtime timestamp without time zone
base_qty real,
subtotal boolean DEFAULT false,
longdescription text
base_qty real,
subtotal boolean DEFAULT false,
longdescription text
bom boolean,
itime timestamp without time zone DEFAULT now(),
mtime timestamp without time zone
bom boolean,
itime timestamp without time zone DEFAULT now(),
mtime timestamp without time zone
base_qty real,
subtotal boolean DEFAULT false,
longdescription text
base_qty real,
subtotal boolean DEFAULT false,
longdescription text
partsgroup text,
itime timestamp without time zone DEFAULT now(),
mtime timestamp without time zone
partsgroup text,
itime timestamp without time zone DEFAULT now(),
mtime timestamp without time zone