Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision b736a66d

Von Bernd Bleßmann vor mehr als 1 Jahr hinzugefügt

  • ID b736a66d873b072786fe8865dc37fe4d72cbe3dd
  • Vorgänger d3512ce7
  • Nachfolger d4fc422e

Lieferantenartikelnummern um Langtext erweitern: DB u. Rose

Unterschiede anzeigen:

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

  
11 11
__PACKAGE__->meta->columns(
12
  id               => { type => 'serial', not_null => 1 },
13
  itime            => { type => 'timestamp', default => 'now()' },
14
  lastcost         => { type => 'numeric', precision => 15, scale => 5 },
15
  lastupdate       => { type => 'date' },
16
  make             => { type => 'integer' },
17
  model            => { type => 'text' },
18
  mtime            => { type => 'timestamp' },
19
  part_description => { type => 'text' },
20
  parts_id         => { type => 'integer' },
21
  sortorder        => { type => 'integer' },
12
  id                   => { type => 'serial', not_null => 1 },
13
  itime                => { type => 'timestamp', default => 'now()' },
14
  lastcost             => { type => 'numeric', precision => 15, scale => 5 },
15
  lastupdate           => { type => 'date' },
16
  make                 => { type => 'integer' },
17
  model                => { type => 'text' },
18
  mtime                => { type => 'timestamp' },
19
  part_description     => { type => 'text' },
20
  part_longdescription => { type => 'text' },
21
  parts_id             => { type => 'integer' },
22
  sortorder            => { type => 'integer' },
22 23
);
23 24

  
24 25
__PACKAGE__->meta->primary_key_columns([ 'id' ]);
sql/Pg-upgrade2/makemodel_add_longdescription.sql
1
-- @tag: makemodel_add_longdescription
2
-- @description: lange Artikelbezeichnung zu jedem Lieferanten speichern können
3
-- @depends: release_3_8_0
4

  
5
ALTER TABLE makemodel ADD COLUMN part_longdescription TEXT;

Auch abrufbar als: Unified diff