Tabelle parts: Fremdschlüssel für Konten - bessere Namen
[kivitendo-erp.git] / SL / DB / MetaSetup / GenericTranslation.pm
index 94556c7..81bd6d8 100644 (file)
@@ -4,16 +4,16 @@ package SL::DB::GenericTranslation;
 
 use strict;
 
-use base qw(SL::DB::Object);
+use parent qw(SL::DB::Object);
 
 __PACKAGE__->meta->table('generic_translations');
 
 __PACKAGE__->meta->columns(
   id               => { type => 'serial', not_null => 1 },
   language_id      => { type => 'integer' },
-  translation_type => { type => 'varchar', length => 100, not_null => 1 },
-  translation_id   => { type => 'integer' },
   translation      => { type => 'text' },
+  translation_id   => { type => 'integer' },
+  translation_type => { type => 'varchar', length => 100, not_null => 1 },
 );
 
 __PACKAGE__->meta->primary_key_columns([ 'id' ]);
@@ -25,7 +25,5 @@ __PACKAGE__->meta->foreign_keys(
   },
 );
 
-# __PACKAGE__->meta->initialize;
-
 1;
 ;