id => { type => 'integer', not_null => 1, sequence => 'id' },
itime => { type => 'timestamp', default => 'now()' },
mtime => { type => 'timestamp' },
- qty => { type => 'numeric', not_null => 1, precision => 5, scale => 15 },
+ qty => { type => 'numeric', not_null => 1, precision => 15, scale => 5 },
unit => { type => 'varchar', length => 20, not_null => 1 },
warehouse_id => { type => 'integer', not_null => 1 },
);