MetaSetup: Spalten- und Fremdschlüsselnamen alphabetisch sortieren
[kivitendo-erp.git] / SL / DB / MetaSetup / BankAccount.pm
index 94eec59..d8be5aa 100644 (file)
@@ -9,13 +9,13 @@ use base qw(SL::DB::Object);
 __PACKAGE__->meta->table('bank_accounts');
 
 __PACKAGE__->meta->columns(
-  id             => { type => 'integer', not_null => 1, sequence => 'id' },
   account_number => { type => 'varchar', length => 100 },
+  bank           => { type => 'text' },
   bank_code      => { type => 'varchar', length => 100 },
-  iban           => { type => 'varchar', length => 100 },
   bic            => { type => 'varchar', length => 100 },
-  bank           => { type => 'text' },
   chart_id       => { type => 'integer', not_null => 1 },
+  iban           => { type => 'varchar', length => 100 },
+  id             => { type => 'integer', not_null => 1, sequence => 'id' },
 );
 
 __PACKAGE__->meta->primary_key_columns([ 'id' ]);
@@ -27,7 +27,5 @@ __PACKAGE__->meta->foreign_keys(
   },
 );
 
-# __PACKAGE__->meta->initialize;
-
 1;
 ;