Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision f1c0374c

Von Jan Büren vor mehr als 2 Jahren hinzugefügt

  • ID f1c0374ca1d11d4368f20396f1521eb802d93c1b
  • Vorgänger ebbc4947
  • Nachfolger ba817380

Neues Feld Übernahme Beschreibung/Langtext aus Stammdaten

Unterschiede anzeigen:

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

  
11 11
__PACKAGE__->meta->columns(
12
  connector               => { type => 'text' },
13
  description             => { type => 'text' },
14
  id                      => { type => 'serial', not_null => 1 },
15
  itime                   => { type => 'timestamp', default => 'now()' },
16
  last_order_number       => { type => 'integer' },
17
  login                   => { type => 'text' },
18
  mtime                   => { type => 'timestamp', default => 'now()' },
19
  obsolete                => { type => 'boolean', default => 'false', not_null => 1 },
20
  orders_to_fetch         => { type => 'integer' },
21
  password                => { type => 'text' },
22
  path                    => { type => 'text', default => '/', not_null => 1 },
23
  port                    => { type => 'integer' },
24
  price_source            => { type => 'text' },
25
  pricetype               => { type => 'text' },
26
  protocol                => { type => 'text', default => 'http', not_null => 1 },
27
  realm                   => { type => 'text' },
28
  server                  => { type => 'text' },
29
  shipping_costs_parts_id => { type => 'integer' },
30
  sortkey                 => { type => 'integer' },
31
  taxzone_id              => { type => 'integer' },
32
  transaction_description => { type => 'text' },
12
  connector                => { type => 'text' },
13
  description              => { type => 'text' },
14
  id                       => { type => 'serial', not_null => 1 },
15
  itime                    => { type => 'timestamp', default => 'now()' },
16
  last_order_number        => { type => 'integer' },
17
  login                    => { type => 'text' },
18
  mtime                    => { type => 'timestamp', default => 'now()' },
19
  obsolete                 => { type => 'boolean', default => 'false', not_null => 1 },
20
  orders_to_fetch          => { type => 'integer' },
21
  password                 => { type => 'text' },
22
  path                     => { type => 'text', default => '/', not_null => 1 },
23
  port                     => { type => 'integer' },
24
  price_source             => { type => 'text' },
25
  pricetype                => { type => 'text' },
26
  protocol                 => { type => 'text', default => 'http', not_null => 1 },
27
  realm                    => { type => 'text' },
28
  server                   => { type => 'text' },
29
  shipping_costs_parts_id  => { type => 'integer' },
30
  sortkey                  => { type => 'integer' },
31
  taxzone_id               => { type => 'integer' },
32
  transaction_description  => { type => 'text' },
33
  use_part_longdescription => { type => 'boolean', default => 'false' },
33 34
);
34 35

  
35 36
__PACKAGE__->meta->primary_key_columns([ 'id' ]);
sql/Pg-upgrade2/shops_5.sql
1
-- @tag: shops_5
2
-- @description: Shop-Config um Option zur direkten Beschreibungsübernahme erweitern
3
-- @depends: shop_4
4
-- @ignore: 0
5

  
6
ALTER TABLE shops ADD COLUMN use_part_longdescription BOOLEAN default false;

Auch abrufbar als: Unified diff