Fehlende Models für Tabelle "trigger_information"
authorMoritz Bunkus <m.bunkus@linet-services.de>
Tue, 9 Jul 2013 07:59:34 +0000 (09:59 +0200)
committerMoritz Bunkus <m.bunkus@linet-services.de>
Tue, 1 Apr 2014 11:03:24 +0000 (13:03 +0200)
SL/DB/Helper/ALL.pm
SL/DB/Helper/Mappings.pm
SL/DB/Manager/TriggerInformation.pm [new file with mode: 0644]
SL/DB/MetaSetup/TriggerInformation.pm [new file with mode: 0644]
SL/DB/TriggerInformation.pm [new file with mode: 0644]

index a868df7..190a52e 100644 (file)
@@ -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;
index 12a8d17..6d7d8d0 100644 (file)
@@ -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 (file)
index 0000000..6ac4c33
--- /dev/null
@@ -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 (file)
index 0000000..2ea3197
--- /dev/null
@@ -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 (file)
index 0000000..44c56a7
--- /dev/null
@@ -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;