Line # | Revision | Author | |
---|---|---|---|
1 | 349 | ahitrov | create table monetaru_operations |
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 0, | ||
8 | name text, | ||
9 | order_id integer not null, | ||
10 | uid integer not null, | ||
11 | 350 | ahitrov | sum float, |
12 | 349 | ahitrov | data text |
13 | ); | ||
14 | CREATE INDEX monetaru_operations_order ON monetaru_operations USING btree (order_id); |