X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FDB%2FMetaSetup%2FTodoUserConfig.pm;h=f745dae85a111c595bccfc8445776037b0a88f75;hb=cbb8eb078305a3eeca9c6c192a66176676da54f8;hp=3721e0ffef25fe6cd6deb5e26913fcdd127edc56;hpb=b8b112a39bd601b0bc717646d78de470631da22a;p=kivitendo-erp.git diff --git a/SL/DB/MetaSetup/TodoUserConfig.pm b/SL/DB/MetaSetup/TodoUserConfig.pm index 3721e0ffe..f745dae85 100644 --- a/SL/DB/MetaSetup/TodoUserConfig.pm +++ b/SL/DB/MetaSetup/TodoUserConfig.pm @@ -4,18 +4,18 @@ package SL::DB::TodoUserConfig; use strict; -use base qw(SL::DB::Object); +use parent qw(SL::DB::Object); __PACKAGE__->meta->table('todo_user_config'); __PACKAGE__->meta->columns( employee_id => { type => 'integer', not_null => 1 }, + id => { type => 'serial', not_null => 1 }, show_after_login => { type => 'boolean', default => 'true' }, show_follow_ups => { type => 'boolean', default => 'true' }, show_follow_ups_login => { type => 'boolean', default => 'true' }, show_overdue_sales_quotations => { type => 'boolean', default => 'true' }, show_overdue_sales_quotations_login => { type => 'boolean', default => 'true' }, - id => { type => 'serial', not_null => 1 }, ); __PACKAGE__->meta->primary_key_columns([ 'id' ]); @@ -27,7 +27,5 @@ __PACKAGE__->meta->foreign_keys( }, ); -# __PACKAGE__->meta->initialize; - 1; ;