1 |
727 |
ahitrov |
CREATE TABLE webshop_delivery ( |
2 |
|
|
id integer NOT NULL primary key DEFAULT nextval(('public.documents_id_seq'::text)::regclass), |
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::Delivery'::text NOT NULL, |
7 |
|
|
status smallint default 0 NOT NULL, |
8 |
|
|
sections integer[], |
9 |
|
|
name text, |
10 |
|
|
alias text, |
11 |
|
|
data text |
12 |
|
|
); |
13 |
|
|
|
14 |
|
|
create index webshop_delivery_sections on webshop_delivery using gist ( "sections" "gist__int_ops" ); |