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/PeriodicInvoicesConfig.pm
9 9
__PACKAGE__->meta->table('periodic_invoices_configs');
10 10

  
11 11
__PACKAGE__->meta->columns(
12
  active                  => { type => 'boolean', default => 'true' },
13
  ar_chart_id             => { type => 'integer', not_null => 1 },
14
  copies                  => { type => 'integer' },
15
  end_date                => { type => 'date' },
16
  extend_automatically_by => { type => 'integer' },
12 17
  id                      => { type => 'integer', not_null => 1, sequence => 'id' },
13 18
  oe_id                   => { type => 'integer', not_null => 1 },
14 19
  periodicity             => { type => 'varchar', length => 10, not_null => 1 },
15 20
  print                   => { type => 'boolean', default => 'false' },
16 21
  printer_id              => { type => 'integer' },
17
  copies                  => { type => 'integer' },
18
  active                  => { type => 'boolean', default => 'true' },
19
  terminated              => { type => 'boolean', default => 'false' },
20 22
  start_date              => { type => 'date' },
21
  end_date                => { type => 'date' },
22
  ar_chart_id             => { type => 'integer', not_null => 1 },
23
  extend_automatically_by => { type => 'integer' },
23
  terminated              => { type => 'boolean', default => 'false' },
24 24
);
25 25

  
26 26
__PACKAGE__->meta->primary_key_columns([ 'id' ]);
......
42 42
  },
43 43
);
44 44

  
45
# __PACKAGE__->meta->initialize;
46

  
47 45
1;
48 46
;

Auch abrufbar als: Unified diff