X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FDB%2FMetaSetup%2FHistory.pm;h=ed15384b37e2f84ec05d320f7e20d7d4aae248c3;hb=bb7e2e85d50544c6b72eb40d57f513eeacf578d5;hp=12486793691ff6db7c138480da374509f56c1e53;hpb=b8b112a39bd601b0bc717646d78de470631da22a;p=kivitendo-erp.git diff --git a/SL/DB/MetaSetup/History.pm b/SL/DB/MetaSetup/History.pm index 124867936..ed15384b3 100644 --- a/SL/DB/MetaSetup/History.pm +++ b/SL/DB/MetaSetup/History.pm @@ -9,13 +9,13 @@ use base qw(SL::DB::Object); __PACKAGE__->meta->table('history_erp'); __PACKAGE__->meta->columns( - id => { type => 'integer', not_null => 1, sequence => 'id' }, - trans_id => { type => 'integer' }, - employee_id => { type => 'integer' }, addition => { type => 'text' }, - what_done => { type => 'text' }, + employee_id => { type => 'integer' }, + id => { type => 'integer', not_null => 1, sequence => 'id' }, itime => { type => 'timestamp', default => 'now()' }, snumbers => { type => 'text' }, + trans_id => { type => 'integer' }, + what_done => { type => 'text' }, ); __PACKAGE__->meta->primary_key_columns([ 'id' ]); @@ -29,7 +29,5 @@ __PACKAGE__->meta->foreign_keys( }, ); -# __PACKAGE__->meta->initialize; - 1; ;