Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision e214accc

Von Jan Büren vor etwa 11 Jahren hinzugefügt

  • ID e214accccd89a9c8fcbaec4390c383135683438b
  • Vorgänger 377b7053
  • Nachfolger 5be8f312

Kleinere DB-Details (Fremdschlüssel und verwaiste Tabelle)
- audittrails wird nicht mehr benutzt

Unterschiede anzeigen:

SL/DB/Helper/Mappings.pm
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',
SL/DB/MetaSetup/AuditTrail.pm
# This file has been auto-generated. Do not modify it; it will be overwritten
# by rose_auto_create_model.pl automatically.
package SL::DB::AuditTrail;
use strict;
use base qw(SL::DB::Object);
__PACKAGE__->meta->table('audittrail');
__PACKAGE__->meta->columns(
action => { type => 'text' },
employee_id => { type => 'integer' },
formname => { type => 'text' },
id => { type => 'serial', not_null => 1 },
reference => { type => 'text' },
tablename => { type => 'text' },
trans_id => { type => 'integer' },
transdate => { type => 'timestamp', default => 'now' },
);
__PACKAGE__->meta->primary_key_columns([ 'id' ]);
1;
;
SL/DB/MetaSetup/Default.pm
ar_show_mark_as_paid => { type => 'boolean', default => 'true' },
articlenumber => { type => 'text' },
assemblynumber => { type => 'text' },
audittrail => { type => 'boolean', default => 'false' },
bin_id => { type => 'integer' },
bin_id_ignore_onhand => { type => 'integer' },
businessnumber => { type => 'text' },
sql/Pg-upgrade2/drop_audittrail.sql
-- @tag: drop_audittrail
-- @description: Tabelle audittrail wird nicht mehr benutzt
-- @depends: release_3_0_0
-- @ignore: 0
ALTER TABLE defaults DROP COLUMN audittrail;
DROP TABLE audittrail;

Auch abrufbar als: Unified diff