From 9f9f93b3f869be5b187a7fe00327ed85f9a43b6c Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Thu, 6 Jun 2013 15:24:07 +0200 Subject: [PATCH] =?utf8?q?Tabellen-/Klassennamen-Mappings=20f=C3=BCr=20aut?= =?utf8?q?h.*=20gefixt?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- SL/DB/Helper/Mappings.pm | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/SL/DB/Helper/Mappings.pm b/SL/DB/Helper/Mappings.pm index d1f297190..a5b6f0544 100644 --- a/SL/DB/Helper/Mappings.pm +++ b/SL/DB/Helper/Mappings.pm @@ -35,16 +35,17 @@ my @kivitendo_blacklist = (@kivitendo_blacklist_permanent, @kivitendo_blacklist_ # unlike rails we have no singular<->plural magic. # remeber: tables should be named as the plural of the model name. my %kivitendo_package_names = ( + # TABLE # MODEL (given in C style) acc_trans => 'acc_transaction', audittrail => 'audit_trail', 'auth.clients' => 'auth_client', 'auth.clients_users' => 'auth_client_user', 'auth.clients_groups' => 'auth_client_group', - 'auth.group' => 'auth_groups', - 'auth.group_right' => 'auth_group_rights', - 'auth.user' => 'auth_users', - 'auth.user_config' => 'auth_user_configs', - 'auth.user_group' => 'auth_user_groups', + 'auth.group' => 'auth_group', + 'auth.group_rights' => 'auth_group_right', + 'auth.user' => 'auth_user', + 'auth.user_config' => 'auth_user_config', + 'auth.user_group' => 'auth_user_group', ar => 'invoice', ap => 'purchase_invoice', background_jobs => 'background_job', -- 2.20.1