1 |
260 |
ahitrov |
CREATE TABLE webshop_regions ( |
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 |
|
|
class text NOT NULL, |
6 |
|
|
status smallint default 0 NOT NULL, |
7 |
|
|
sections integer[], |
8 |
|
|
pid integer default 0, |
9 |
|
|
name text, |
10 |
|
|
alias text, |
11 |
|
|
price text, |
12 |
|
|
data text |
13 |
|
|
); |
14 |
|
|
|
15 |
|
|
CREATE INDEX webshop_regions_sections ON webshop_regions USING btree (sections); |
16 |
|
|
CREATE INDEX webshop_regions_pid ON webshop_regions USING btree (pid); |