X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FDB%2FMetaSetup%2FCustomVariableConfig.pm;h=af6d69084f41b8cea66186ee513398a9b0026e02;hb=11f548d3ce947debde9e1c2e175af11b9ba4dc98;hp=9ebed947e8a9750849492280cce72c43fa69b5ec;hpb=b8b112a39bd601b0bc717646d78de470631da22a;p=kivitendo-erp.git diff --git a/SL/DB/MetaSetup/CustomVariableConfig.pm b/SL/DB/MetaSetup/CustomVariableConfig.pm index 9ebed947e..af6d69084 100644 --- a/SL/DB/MetaSetup/CustomVariableConfig.pm +++ b/SL/DB/MetaSetup/CustomVariableConfig.pm @@ -4,32 +4,30 @@ package SL::DB::CustomVariableConfig; use strict; -use base qw(SL::DB::Object); +use parent qw(SL::DB::Object); __PACKAGE__->meta->table('custom_variable_configs'); __PACKAGE__->meta->columns( - id => { type => 'integer', not_null => 1, sequence => 'custom_variable_configs_id' }, - name => { type => 'text', not_null => 1 }, - description => { type => 'text', not_null => 1 }, - type => { type => 'text', not_null => 1 }, - module => { type => 'text', not_null => 1 }, default_value => { type => 'text' }, - options => { type => 'text' }, - searchable => { type => 'boolean', not_null => 1 }, + description => { type => 'text', not_null => 1 }, + flags => { type => 'text' }, + id => { type => 'integer', not_null => 1, sequence => 'custom_variable_configs_id' }, includeable => { type => 'boolean', not_null => 1 }, included_by_default => { type => 'boolean', not_null => 1 }, - sortkey => { type => 'integer', not_null => 1 }, itime => { type => 'timestamp', default => 'now()' }, + module => { type => 'text', not_null => 1 }, mtime => { type => 'timestamp' }, - flags => { type => 'text' }, + name => { type => 'text', not_null => 1 }, + options => { type => 'text' }, + searchable => { type => 'boolean', not_null => 1 }, + sortkey => { type => 'integer', not_null => 1 }, + type => { type => 'text', not_null => 1 }, ); __PACKAGE__->meta->primary_key_columns([ 'id' ]); __PACKAGE__->meta->allow_inline_column_values(1); -# __PACKAGE__->meta->initialize; - 1; ;