Revision 296 (by ahitrov, 2013/03/26 17:59:01) Promosite (anthill) project source
create table postcards
(
	id integer not null primary key default nextval('public.documents_id_seq'::text),
	class text not null,
	ctime timestamp not null default now(),
	mtime timestamp not null default now(),
	dtime timestamp not null default now(),
	status smallint not null default 0,
	sections integer[],
	name text,
	data text
);
create index postcards_sections on postcards using gist ( "sections" "gist__int_ops" );
create index postcards_dtime on postcards (dtime);