Line # Revision Author
1 474 ahitrov create table tags_cloud
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 status smallint not null default 1,
8 source_id integer not null,
9 source_class text not null default 'tags::Tag',
10 dest_id integer not null,
11 dest_class text not null,
12 data text
13 );
14 create index tags_cloud_source on tags_cloud (source_id);
15 create index tags_cloud_dest on tags_cloud (dest_id);