Line # Revision Author
1 296 ahitrov create table postcards
2 (
3 id integer not null primary key default nextval('public.documents_id_seq'::text),
4 class text not null,
5 ctime timestamp not null default now(),
6 mtime timestamp not null default now(),
7 dtime timestamp not null default now(),
8 status smallint not null default 0,
9 sections integer[],
10 name text,
11 data text
12 );
13 create index postcards_sections on postcards using gist ( "sections" "gist__int_ops" );
14 create index postcards_dtime on postcards (dtime);