]> wagnertech.de Git - kivitendo-erp.git/blobdiff - SL/DB/MetaSetup/Bin.pm
Kleinere DB-Details (Fremdschlüssel und verwaiste Tabelle)
[kivitendo-erp.git] / SL / DB / MetaSetup / Bin.pm
index df051036158f000b3c9420b36a3ab33acd7b0d96..223276ed622fb9fa604bb008b1dfdb55e9779d12 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;
 ;