Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 3eb3d1b1

Von Moritz Bunkus vor mehr als 11 Jahren hinzugefügt

  • ID 3eb3d1b144adb92e62de08e67dc6ff3d39bf7483
  • Vorgänger e7ae5b6a
  • Nachfolger 0b5b8355

MetaSetup: Spalten- und Fremdschlüsselnamen alphabetisch sortieren

Unterschiede anzeigen:

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

  
11 11
__PACKAGE__->meta->columns(
12
  id                       => { type => 'integer', not_null => 1, sequence => 'id' },
13
  dunning_level            => { type => 'integer' },
14
  dunning_description      => { type => 'text' },
15 12
  active                   => { type => 'boolean' },
16 13
  auto                     => { type => 'boolean' },
14
  create_invoices_for_fees => { type => 'boolean', default => 'true' },
15
  dunning_description      => { type => 'text' },
16
  dunning_level            => { type => 'integer' },
17 17
  email                    => { type => 'boolean' },
18
  terms                    => { type => 'integer' },
19
  payment_terms            => { type => 'integer' },
20
  fee                      => { type => 'numeric', precision => 5, scale => 15 },
21
  interest_rate            => { type => 'numeric', precision => 5, scale => 15 },
18
  email_attachment         => { type => 'boolean' },
22 19
  email_body               => { type => 'text' },
23 20
  email_subject            => { type => 'text' },
24
  email_attachment         => { type => 'boolean' },
21
  fee                      => { type => 'numeric', precision => 5, scale => 15 },
22
  id                       => { type => 'integer', not_null => 1, sequence => 'id' },
23
  interest_rate            => { type => 'numeric', precision => 5, scale => 15 },
24
  payment_terms            => { type => 'integer' },
25 25
  template                 => { type => 'text' },
26
  create_invoices_for_fees => { type => 'boolean', default => 'true' },
26
  terms                    => { type => 'integer' },
27 27
);
28 28

  
29 29
__PACKAGE__->meta->primary_key_columns([ 'id' ]);
30 30

  
31
# __PACKAGE__->meta->initialize;
32

  
33 31
1;
34 32
;

Auch abrufbar als: Unified diff