Line # Revision Author
1 198 ahitrov CREATE TABLE adresses (
2 id integer DEFAULT nextval(('public.documents_id_seq'::text)::regclass) NOT NULL,
3 ctime timestamp without time zone DEFAULT now() NOT NULL,
4 mtime timestamp without time zone DEFAULT now() NOT NULL,
5 dtime timestamp without time zone DEFAULT now() NOT NULL,
6 class text DEFAULT 'webshop::Address'::text NOT NULL,
7 status smallint default 0 NOT NULL,
8 sections integer,
9 uid integer not null,
10 name text,
11 data text
12 );
13
14 CREATE INDEX adresses_sections ON adresses USING btree (sections);
15 CREATE INDEX adresses_uid ON adresses USING btree (uid);