| Column | 
  Type | 
  Size | 
  Nulls | 
  Auto | 
  Default | 
  Children | 
  Parents | 
  
 
 | id | 
 uuid | 
 2147483647 | 
  | 
  | 
 uuid_generate_v1() | 
  | 
   | 
 
 
 | te_id | 
 int8 | 
 19 | 
  √  | 
  | 
 new_te() | 
  | 
 
  
  | 
 
 
 | quantity_sold | 
 numeric | 
 20,3 | 
  √  | 
  | 
 null | 
  | 
   | 
 
 
 | quantity_received | 
 numeric | 
 20,3 | 
  √  | 
  | 
 null | 
  | 
   | 
 
 
 | quantity_transfered | 
 numeric | 
 20,3 | 
  √  | 
  | 
 null | 
  | 
   | 
 
 
 | quantity_consumed | 
 numeric | 
 20,3 | 
  √  | 
  | 
 null | 
  | 
   | 
 
 
 | quantity_produced | 
 numeric | 
 20,3 | 
  √  | 
  | 
 null | 
  | 
   | 
 
 
 | quantity_lost | 
 numeric | 
 20,3 | 
  √  | 
  | 
 null | 
  | 
   | 
 
 
 | sold_date | 
 timestamp | 
 29,6 | 
  √  | 
  | 
 null | 
  | 
   | 
 
 
 | received_date | 
 timestamp | 
 29,6 | 
  √  | 
  | 
 null | 
  | 
   | 
 
 
 | production_date | 
 timestamp | 
 29,6 | 
  √  | 
  | 
 null | 
  | 
   | 
 
 
 | decreased_date | 
 timestamp | 
 29,6 | 
  √  | 
  | 
 null | 
  | 
   | 
 
 
 | quantity_decreased | 
 numeric | 
 20,3 | 
  √  | 
  | 
 null | 
  | 
   | 
 
 
 | branch_id | 
 uuid | 
 2147483647 | 
  | 
  | 
  | 
  | 
 
  
   
    | branch.id
     | 
    product_history_branch_id_fkey R | 
    
   
  | 
 
 
 | sellable_id | 
 uuid | 
 2147483647 | 
  √  | 
  | 
 null | 
  | 
 
  
   
    | sellable.id
     | 
    product_history_sellable_id_fkey R | 
    
   
  | 
 
 
 
Analyzed at Fri Jun 10 16:06 BRT 2016 
 |