Pflichtenhefte: zusätzliche Artikel zuweisen und bearbeiten können
[kivitendo-erp.git] / SL / DB / MetaSetup / Bin.pm
index df05103..223276e 100644 (file)
@@ -9,11 +9,11 @@ use base qw(SL::DB::Object);
 __PACKAGE__->meta->table('bin');
 
 __PACKAGE__->meta->columns(
-  id           => { type => 'integer', not_null => 1, sequence => 'id' },
-  warehouse_id => { type => 'integer', not_null => 1 },
   description  => { type => 'text' },
+  id           => { type => 'integer', not_null => 1, sequence => 'id' },
   itime        => { type => 'timestamp', default => 'now()' },
   mtime        => { type => 'timestamp' },
+  warehouse_id => { type => 'integer', not_null => 1 },
 );
 
 __PACKAGE__->meta->primary_key_columns([ 'id' ]);
@@ -27,7 +27,5 @@ __PACKAGE__->meta->foreign_keys(
   },
 );
 
-# __PACKAGE__->meta->initialize;
-
 1;
 ;