przy strukturze tabelki assignments
CREATE TABLE assignments (
id integer default nextval('assignments_id_seq'::text) NOT NULL,
tariffid integer DEFAULT 0 NOT NULL,
userid integer DEFAULT 0 NOT NULL,
period integer DEFAULT 0 NOT NULL,
at integer DEFAULT 0 NOT NULL,
datefrom DEFAULT 0 NOT NULL,
dateto DEFAULT 0 NOT NULL,
invoice smallint DEFAULT 0 NOT NULL,
PRIMARY KEY (id)
);
nie za bardzo wiadomo jakiego typu sa pola datefrom i dateto... no
wlasnie, jaki ma byc tam typ? ( i przy okazji default..)
cracket