| id |
uuid |
2147483647 |
|
|
uuid_generate_v1() |
|
|
| te_id |
int8 |
19 |
√ |
|
new_te() |
|
|
| identifier |
serial |
10 |
|
√ |
nextval('returned_sale_identifier_seq'::regclass) |
|
|
| return_date |
timestamp |
29,6 |
√ |
|
null |
|
|
| reason |
text |
2147483647 |
√ |
|
null |
|
|
| invoice_number |
int4 |
10 |
√ |
|
null |
|
|
| responsible_id |
uuid |
2147483647 |
√ |
|
null |
|
|
| branch_id |
uuid |
2147483647 |
|
|
|
|
| branch.id
|
returned_sale_branch_id_fkey R |
|
| sale_id |
uuid |
2147483647 |
√ |
|
null |
|
| sale.id
|
returned_sale_sale_id_fkey R |
|
| new_sale_id |
uuid |
2147483647 |
√ |
|
null |
|
| sale.id
|
returned_sale_new_sale_id_fkey R |
|
| status |
returned_sale_status |
2147483647 |
√ |
|
null |
|
|
| confirm_responsible_id |
uuid |
2147483647 |
√ |
|
null |
|
| login_user.id
|
returned_sale_confirm_responsible_id_fkey R |
|
| confirm_date |
timestamp |
29,6 |
√ |
|
null |
|
|
| undo_date |
timestamp |
29,6 |
√ |
|
null |
|
|
| undo_responsible_id |
uuid |
2147483647 |
√ |
|
null |
|
| login_user.id
|
returned_sale_undo_responsible_id_fkey R |
|
| undo_reason |
text |
2147483647 |
√ |
|
null |
|
|
| invoice_id |
uuid |
2147483647 |
√ |
|
null |
|
| invoice.id
|
returned_sale_invoice_id_fkey R |
|