Spalte »nicht gelieferte Menge« in Aufträgen optional anzeigen
[kivitendo-erp.git] / SL / DB / MetaSetup / PriceFactor.pm
index 099b658..a67b805 100644 (file)
@@ -9,15 +9,13 @@ use base qw(SL::DB::Object);
 __PACKAGE__->meta->table('price_factors');
 
 __PACKAGE__->meta->columns(
-  id          => { type => 'integer', not_null => 1, sequence => 'id' },
   description => { type => 'text' },
-  factor      => { type => 'numeric', precision => 5, scale => 15 },
+  factor      => { type => 'numeric', precision => 15, scale => 5 },
+  id          => { type => 'integer', not_null => 1, sequence => 'id' },
   sortkey     => { type => 'integer' },
 );
 
 __PACKAGE__->meta->primary_key_columns([ 'id' ]);
 
-# __PACKAGE__->meta->initialize;
-
 1;
 ;