]> wagnertech.de Git - kivitendo-erp.git/blobdiff - SL/DB/MetaSetup/Chart.pm
Merge branch 'b-3.6.1' of ../kivitendo-erp_20220811
[kivitendo-erp.git] / SL / DB / MetaSetup / Chart.pm
index 980b2bd5d614a72d78569260f940b53715299025..993fd0d56370b25ac7ade75b12da2a926642dd49 100644 (file)
@@ -4,25 +4,26 @@ package SL::DB::Chart;
 
 use strict;
 
-use base qw(SL::DB::Object);
+use parent qw(SL::DB::Object);
 
 __PACKAGE__->meta->table('chart');
 
 __PACKAGE__->meta->columns(
-  id             => { type => 'integer', not_null => 1, sequence => 'id' },
   accno          => { type => 'text', not_null => 1 },
-  description    => { type => 'text' },
-  charttype      => { type => 'character', default => 'A', length => 1 },
   category       => { type => 'character', length => 1 },
-  link           => { type => 'text', not_null => 1 },
-  taxkey_id      => { type => 'integer' },
-  pos_bwa        => { type => 'integer' },
-  pos_bilanz     => { type => 'integer' },
-  pos_eur        => { type => 'integer' },
+  charttype      => { type => 'character', default => 'A', length => 1 },
   datevautomatik => { type => 'boolean', default => 'false' },
+  description    => { type => 'text' },
+  id             => { type => 'integer', not_null => 1, sequence => 'id' },
   itime          => { type => 'timestamp', default => 'now()' },
+  link           => { type => 'text', not_null => 1 },
   mtime          => { type => 'timestamp' },
   new_chart_id   => { type => 'integer' },
+  pos_bilanz     => { type => 'integer' },
+  pos_bwa        => { type => 'integer' },
+  pos_er         => { type => 'integer' },
+  pos_eur        => { type => 'integer' },
+  taxkey_id      => { type => 'integer' },
   valid_from     => { type => 'date' },
 );
 
@@ -32,7 +33,5 @@ __PACKAGE__->meta->unique_keys([ 'accno' ]);
 
 __PACKAGE__->meta->allow_inline_column_values(1);
 
-# __PACKAGE__->meta->initialize;
-
 1;
 ;