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

  
11 11
__PACKAGE__->meta->columns(
12
  id             => { type => 'integer', not_null => 1, sequence => 'glid' },
13
  reference      => { type => 'text' },
12
  cb_transaction => { type => 'boolean' },
13
  department_id  => { type => 'integer' },
14 14
  description    => { type => 'text' },
15
  transdate      => { type => 'date', default => 'now' },
16
  gldate         => { type => 'date', default => 'now' },
17 15
  employee_id    => { type => 'integer' },
18
  notes          => { type => 'text' },
19
  department_id  => { type => 'integer' },
20
  taxincluded    => { type => 'boolean' },
16
  gldate         => { type => 'date', default => 'now' },
17
  id             => { type => 'integer', not_null => 1, sequence => 'glid' },
21 18
  itime          => { type => 'timestamp', default => 'now()' },
22 19
  mtime          => { type => 'timestamp' },
23
  type           => { type => 'text' },
20
  notes          => { type => 'text' },
21
  ob_transaction => { type => 'boolean' },
22
  reference      => { type => 'text' },
24 23
  storno         => { type => 'boolean', default => 'false' },
25 24
  storno_id      => { type => 'integer' },
26
  ob_transaction => { type => 'boolean' },
27
  cb_transaction => { type => 'boolean' },
25
  taxincluded    => { type => 'boolean' },
26
  transdate      => { type => 'date', default => 'now' },
27
  type           => { type => 'text' },
28 28
);
29 29

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

  
46
# __PACKAGE__->meta->initialize;
47

  
48 46
1;
49 47
;

Auch abrufbar als: Unified diff