From: Moritz Bunkus Date: Tue, 9 Jul 2013 07:59:34 +0000 (+0200) Subject: Fehlende Models für Tabelle "trigger_information" X-Git-Tag: release-3.2.0beta~467^2~138 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=09a63fcb49aeac832a52682a01286fa36b9b65a5;p=kivitendo-erp.git Fehlende Models für Tabelle "trigger_information" --- diff --git a/SL/DB/Helper/ALL.pm b/SL/DB/Helper/ALL.pm index a868df71a..190a52e9e 100644 --- a/SL/DB/Helper/ALL.pm +++ b/SL/DB/Helper/ALL.pm @@ -99,6 +99,7 @@ use SL::DB::TaxZone; use SL::DB::TodoUserConfig; use SL::DB::TransferType; use SL::DB::Translation; +use SL::DB::TriggerInformation; use SL::DB::Unit; use SL::DB::UnitsLanguage; use SL::DB::VC; diff --git a/SL/DB/Helper/Mappings.pm b/SL/DB/Helper/Mappings.pm index 12a8d171b..6d7d8d068 100644 --- a/SL/DB/Helper/Mappings.pm +++ b/SL/DB/Helper/Mappings.pm @@ -179,6 +179,7 @@ my %kivitendo_package_names = ( todo_user_config => 'todo_user_config', transfer_type => 'transfer_type', translation => 'translation', + trigger_information => 'trigger_information', units => 'unit', units_language => 'units_language', vendor => 'vendor', diff --git a/SL/DB/Manager/TriggerInformation.pm b/SL/DB/Manager/TriggerInformation.pm new file mode 100644 index 000000000..6ac4c3317 --- /dev/null +++ b/SL/DB/Manager/TriggerInformation.pm @@ -0,0 +1,15 @@ +# This file has been auto-generated only because it didn't exist. +# Feel free to modify it at will; it will not be overwritten automatically. + +package SL::DB::Manager::TriggerInformation; + +use strict; + +use SL::DB::Helper::Manager; +use base qw(SL::DB::Helper::Manager); + +sub object_class { 'SL::DB::TriggerInformation' } + +__PACKAGE__->make_manager_methods; + +1; diff --git a/SL/DB/MetaSetup/TriggerInformation.pm b/SL/DB/MetaSetup/TriggerInformation.pm new file mode 100644 index 000000000..2ea319754 --- /dev/null +++ b/SL/DB/MetaSetup/TriggerInformation.pm @@ -0,0 +1,22 @@ +# This file has been auto-generated. Do not modify it; it will be overwritten +# by rose_auto_create_model.pl automatically. +package SL::DB::TriggerInformation; + +use strict; + +use base qw(SL::DB::Object); + +__PACKAGE__->meta->table('trigger_information'); + +__PACKAGE__->meta->columns( + id => { type => 'serial', not_null => 1 }, + key => { type => 'text', not_null => 1 }, + value => { type => 'text' }, +); + +__PACKAGE__->meta->primary_key_columns([ 'id' ]); + +__PACKAGE__->meta->unique_keys([ 'key', 'value' ]); + +1; +; diff --git a/SL/DB/TriggerInformation.pm b/SL/DB/TriggerInformation.pm new file mode 100644 index 000000000..44c56a719 --- /dev/null +++ b/SL/DB/TriggerInformation.pm @@ -0,0 +1,13 @@ +# This file has been auto-generated only because it didn't exist. +# Feel free to modify it at will; it will not be overwritten automatically. + +package SL::DB::TriggerInformation; + +use strict; + +use SL::DB::MetaSetup::TriggerInformation; +use SL::DB::Manager::TriggerInformation; + +__PACKAGE__->meta->initialize; + +1;