From 09a63fcb49aeac832a52682a01286fa36b9b65a5 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Tue, 9 Jul 2013 09:59:34 +0200 Subject: [PATCH] =?utf8?q?Fehlende=20Models=20f=C3=BCr=20Tabelle=20"trigge?= =?utf8?q?r=5Finformation"?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- SL/DB/Helper/ALL.pm | 1 + SL/DB/Helper/Mappings.pm | 1 + SL/DB/Manager/TriggerInformation.pm | 15 +++++++++++++++ SL/DB/MetaSetup/TriggerInformation.pm | 22 ++++++++++++++++++++++ SL/DB/TriggerInformation.pm | 13 +++++++++++++ 5 files changed, 52 insertions(+) create mode 100644 SL/DB/Manager/TriggerInformation.pm create mode 100644 SL/DB/MetaSetup/TriggerInformation.pm create mode 100644 SL/DB/TriggerInformation.pm 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; -- 2.20.1