Line # | Revision | Author | |
---|---|---|---|
1 | 358 | ahitrov | create table payments_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 | sum float, | ||
12 | data text | ||
13 | ); | ||
14 | CREATE INDEX payments_operations_order ON payments_operations USING btree (order_id); |