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

  
11 11
__PACKAGE__->meta->columns(
12
  id             => { type => 'integer', not_null => 1, sequence => 'id' },
13 12
  accno          => { type => 'text', not_null => 1 },
14
  description    => { type => 'text' },
15
  charttype      => { type => 'character', default => 'A', length => 1 },
16 13
  category       => { type => 'character', length => 1 },
17
  link           => { type => 'text', not_null => 1 },
18
  taxkey_id      => { type => 'integer' },
19
  pos_bwa        => { type => 'integer' },
20
  pos_bilanz     => { type => 'integer' },
21
  pos_eur        => { type => 'integer' },
14
  charttype      => { type => 'character', default => 'A', length => 1 },
22 15
  datevautomatik => { type => 'boolean', default => 'false' },
16
  description    => { type => 'text' },
17
  id             => { type => 'integer', not_null => 1, sequence => 'id' },
23 18
  itime          => { type => 'timestamp', default => 'now()' },
19
  link           => { type => 'text', not_null => 1 },
24 20
  mtime          => { type => 'timestamp' },
25 21
  new_chart_id   => { type => 'integer' },
22
  pos_bilanz     => { type => 'integer' },
23
  pos_bwa        => { type => 'integer' },
24
  pos_eur        => { type => 'integer' },
25
  taxkey_id      => { type => 'integer' },
26 26
  valid_from     => { type => 'date' },
27 27
);
28 28

  
......
32 32

  
33 33
__PACKAGE__->meta->allow_inline_column_values(1);
34 34

  
35
# __PACKAGE__->meta->initialize;
36

  
37 35
1;
38 36
;

Auch abrufbar als: Unified diff