From: Sven Schöling Date: Fri, 10 Sep 2010 13:03:48 +0000 (+0200) Subject: SchamInfo -> Rose Model X-Git-Tag: release-2.6.2beta1~140 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=85da554f9ca728db840c0122e2c3535953919c64;p=kivitendo-erp.git SchamInfo -> Rose Model --- diff --git a/SL/DB/Helpers/ALL.pm b/SL/DB/Helpers/ALL.pm index f766d169a..396b38d1c 100644 --- a/SL/DB/Helpers/ALL.pm +++ b/SL/DB/Helpers/ALL.pm @@ -42,6 +42,7 @@ use SL::DB::PurchaseInvoice; use SL::DB::RMA; use SL::DB::SepaExport; use SL::DB::SepaExportItem; +use SL::DB::SchemaInfo; use SL::DB::Shipto; use SL::DB::Tax; use SL::DB::Taxkey; diff --git a/SL/DB/Helpers/Mappings.pm b/SL/DB/Helpers/Mappings.pm index d4ee675e5..15ce697b5 100644 --- a/SL/DB/Helpers/Mappings.pm +++ b/SL/DB/Helpers/Mappings.pm @@ -14,7 +14,6 @@ my @lxoffice_blacklist_permanent = qw( # these are not managed _yet_, but will hopefully at some point. # if you are confident that one of these works, remove it here. my @lxoffice_blacklist_temp = qw( - schema_info ); my @lxoffice_blacklist = (@lxoffice_blacklist_permanent, @lxoffice_blacklist_temp); @@ -56,6 +55,7 @@ my %lxoffice_package_names = ( rma => 'RMA', sepa_export => 'sepa_export', sepa_export_items => 'sepa_export_item', + schema_info => 'schema_info', tax => 'tax', taxkeys => 'taxkey', units => 'unit', diff --git a/SL/DB/MetaSetup/SchemaInfo.pm b/SL/DB/MetaSetup/SchemaInfo.pm new file mode 100644 index 000000000..0a1e70ef3 --- /dev/null +++ b/SL/DB/MetaSetup/SchemaInfo.pm @@ -0,0 +1,24 @@ +# This file has been auto-generated. Do not modify it; it will be overwritten +# by rose_auto_create_model.pl automatically. +package SL::DB::SchemaInfo; + +use strict; + +use base qw(SL::DB::Object); + +__PACKAGE__->meta->setup( + table => 'schema_info', + + columns => [ + tag => { type => 'text', not_null => 1 }, + login => { type => 'text' }, + itime => { type => 'timestamp', default => 'now()' }, + ], + + primary_key_columns => [ 'tag' ], + + allow_inline_column_values => 1, +); + +1; +; diff --git a/SL/DB/SchemaInfo.pm b/SL/DB/SchemaInfo.pm new file mode 100644 index 000000000..b1c38d4a6 --- /dev/null +++ b/SL/DB/SchemaInfo.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::SchemaInfo; + +use strict; + +use SL::DB::MetaSetup::SchemaInfo; + +# Creates get_all, get_all_count, get_all_iterator, delete_all and update_all. +__PACKAGE__->meta->make_manager_class; + +1;