Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 2144dd8e

Von Bernd Bleßmann vor fast 3 Jahren hinzugefügt

  • ID 2144dd8e1a7ed9da5f164d87165d3dce01b8f53b
  • Vorgänger 2f318813
  • Nachfolger eacebf8a

Vorgangsbezeichnung in Dialogbuchung: DB-Upgrade und Rose

Unterschiede anzeigen:

SL/DB/MetaSetup/GLTransaction.pm
9 9
__PACKAGE__->meta->table('gl');
10 10

  
11 11
__PACKAGE__->meta->columns(
12
  cb_transaction => { type => 'boolean' },
13
  deliverydate   => { type => 'date' },
14
  department_id  => { type => 'integer' },
15
  description    => { type => 'text' },
16
  employee_id    => { type => 'integer' },
17
  gldate         => { type => 'date', default => 'now' },
18
  id             => { type => 'integer', not_null => 1, sequence => 'glid' },
19
  imported       => { type => 'boolean', default => 'false' },
20
  itime          => { type => 'timestamp', default => 'now()' },
21
  mtime          => { type => 'timestamp' },
22
  notes          => { type => 'text' },
23
  ob_transaction => { type => 'boolean' },
24
  reference      => { type => 'text' },
25
  storno         => { type => 'boolean', default => 'false' },
26
  storno_id      => { type => 'integer' },
27
  tax_point      => { type => 'date' },
28
  taxincluded    => { type => 'boolean' },
29
  transdate      => { type => 'date', default => 'now' },
30
  type           => { type => 'text' },
12
  cb_transaction          => { type => 'boolean' },
13
  deliverydate            => { type => 'date' },
14
  department_id           => { type => 'integer' },
15
  description             => { type => 'text' },
16
  employee_id             => { type => 'integer' },
17
  gldate                  => { type => 'date', default => 'now' },
18
  id                      => { type => 'integer', not_null => 1, sequence => 'glid' },
19
  imported                => { type => 'boolean', default => 'false' },
20
  itime                   => { type => 'timestamp', default => 'now()' },
21
  mtime                   => { type => 'timestamp' },
22
  notes                   => { type => 'text' },
23
  ob_transaction          => { type => 'boolean' },
24
  reference               => { type => 'text' },
25
  storno                  => { type => 'boolean', default => 'false' },
26
  storno_id               => { type => 'integer' },
27
  tax_point               => { type => 'date' },
28
  taxincluded             => { type => 'boolean' },
29
  transaction_description => { type => 'text' },
30
  transdate               => { type => 'date', default => 'now' },
31
  type                    => { type => 'text' },
31 32
);
32 33

  
33 34
__PACKAGE__->meta->primary_key_columns([ 'id' ]);
sql/Pg-upgrade2/add_gl_transaction_description.sql
1
-- @tag: add_gl_transaction_description
2
-- @description: Vorgangsbezeichnung für Dialogbuchungen
3
-- @depends: release_3_5_8
4

  
5
ALTER TABLE gl ADD transaction_description TEXT;

Auch abrufbar als: Unified diff