Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision f85793af

Von Tamino Steinert vor fast 2 Jahren hinzugefügt

  • ID f85793af36b387677f422ed95bd5d61556add99b
  • Vorgänger c22f1710
  • Nachfolger cc6300b3

Reclamation: add billing_address_id to reclamation

Unterschiede anzeigen:

SL/DB/MetaSetup/Reclamation.pm
10 10

  
11 11
__PACKAGE__->meta->columns(
12 12
  amount                  => { type => 'numeric', precision => 15, scale => 5 },
13
  billing_address_id      => { type => 'integer' },
13 14
  closed                  => { type => 'boolean', default => 'false', not_null => 1 },
14 15
  contact_id              => { type => 'integer' },
15 16
  currency_id             => { type => 'integer', not_null => 1 },
......
48 49
__PACKAGE__->meta->allow_inline_column_values(1);
49 50

  
50 51
__PACKAGE__->meta->foreign_keys(
52
  billing_address => {
53
    class       => 'SL::DB::AdditionalBillingAddress',
54
    key_columns => { billing_address_id => 'id' },
55
  },
56

  
51 57
  contact => {
52 58
    class       => 'SL::DB::Contact',
53 59
    key_columns => { contact_id => 'cp_id' },

Auch abrufbar als: Unified diff