]> wagnertech.de Git - kivitendo-erp.git/blobdiff - SL/DB/MetaSetup/AssortmentItem.pm
Merge branch 'b-3.6.1' of ../kivitendo-erp_20220811
[kivitendo-erp.git] / SL / DB / MetaSetup / AssortmentItem.pm
index 5cedfbfa913d31bd7d10e0d27f91ebf83eb4e8d6..8bd1611b59033f46d8fc1e8d6d6fef157cfdca96 100644 (file)
@@ -10,11 +10,12 @@ __PACKAGE__->meta->table('assortment_items');
 
 __PACKAGE__->meta->columns(
   assortment_id => { type => 'integer', not_null => 1 },
+  charge        => { type => 'boolean', default => 'true' },
   itime         => { type => 'timestamp', default => 'now()' },
   mtime         => { type => 'timestamp' },
   parts_id      => { type => 'integer', not_null => 1 },
   position      => { type => 'integer', not_null => 1 },
-  qty           => { type => 'float', not_null => 1, scale => 4 },
+  qty           => { type => 'float', not_null => 1, precision => 4, scale => 4 },
   unit          => { type => 'varchar', length => 20, not_null => 1 },
 );