X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FDB%2FMetaSetup%2FCustomVariableValidity.pm;h=6b9dcd8451be27ee3665ad3f72174e7cbca82a8e;hb=11aeaa07186197c61dfe610d2a5c981754fd2e9d;hp=3757ddcc165910ac9de9ac4ba38c4d92807c5457;hpb=b8b112a39bd601b0bc717646d78de470631da22a;p=kivitendo-erp.git diff --git a/SL/DB/MetaSetup/CustomVariableValidity.pm b/SL/DB/MetaSetup/CustomVariableValidity.pm index 3757ddcc1..6b9dcd845 100644 --- a/SL/DB/MetaSetup/CustomVariableValidity.pm +++ b/SL/DB/MetaSetup/CustomVariableValidity.pm @@ -4,15 +4,15 @@ package SL::DB::CustomVariableValidity; use strict; -use base qw(SL::DB::Object); +use parent qw(SL::DB::Object); __PACKAGE__->meta->table('custom_variables_validity'); __PACKAGE__->meta->columns( - id => { type => 'integer', not_null => 1, sequence => 'id' }, config_id => { type => 'integer', not_null => 1 }, - trans_id => { type => 'integer', not_null => 1 }, + id => { type => 'integer', not_null => 1, sequence => 'id' }, itime => { type => 'timestamp', default => 'now()' }, + trans_id => { type => 'integer', not_null => 1 }, ); __PACKAGE__->meta->primary_key_columns([ 'id' ]); @@ -26,7 +26,5 @@ __PACKAGE__->meta->foreign_keys( }, ); -# __PACKAGE__->meta->initialize; - 1; ;