MetaSetup: Spalten- und Fremdschlüsselnamen alphabetisch sortieren
[kivitendo-erp.git] / SL / DB / MetaSetup / Project.pm
index c6b2c42..4805568 100644 (file)
@@ -9,13 +9,13 @@ use base qw(SL::DB::Object);
 __PACKAGE__->meta->table('project');
 
 __PACKAGE__->meta->columns(
-  id            => { type => 'integer', not_null => 1, sequence => 'id' },
-  projectnumber => { type => 'text' },
+  active        => { type => 'boolean', default => 'true' },
+  customer_id   => { type => 'integer' },
   description   => { type => 'text' },
+  id            => { type => 'integer', not_null => 1, sequence => 'id' },
   itime         => { type => 'timestamp', default => 'now()' },
   mtime         => { type => 'timestamp' },
-  active        => { type => 'boolean', default => 'true' },
-  customer_id   => { type => 'integer' },
+  projectnumber => { type => 'text' },
   type          => { type => 'text' },
   valid         => { type => 'boolean', default => 'true' },
 );
@@ -33,7 +33,5 @@ __PACKAGE__->meta->foreign_keys(
   },
 );
 
-# __PACKAGE__->meta->initialize;
-
 1;
 ;