MetaSetup: Spalten- und Fremdschlüsselnamen alphabetisch sortieren
[kivitendo-erp.git] / SL / DB / MetaSetup / CustomVariableValidity.pm
index 3757ddc..a3750b7 100644 (file)
@@ -9,10 +9,10 @@ use base qw(SL::DB::Object);
 __PACKAGE__->meta->table('custom_variables_validity');
 
 __PACKAGE__->meta->columns(
-  id        => { type => 'integer', not_null => 1, sequence => 'id' },
   config_id => { type => 'integer', not_null => 1 },
-  trans_id  => { type => 'integer', not_null => 1 },
+  id        => { type => 'integer', not_null => 1, sequence => 'id' },
   itime     => { type => 'timestamp', default => 'now()' },
+  trans_id  => { type => 'integer', not_null => 1 },
 );
 
 __PACKAGE__->meta->primary_key_columns([ 'id' ]);
@@ -26,7 +26,5 @@ __PACKAGE__->meta->foreign_keys(
   },
 );
 
-# __PACKAGE__->meta->initialize;
-
 1;
 ;