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

  
11 11
__PACKAGE__->meta->columns(
12
  active       => { type => 'boolean' },
13
  cron_spec    => { type => 'varchar', length => 255 },
14
  data         => { type => 'text' },
12 15
  id           => { type => 'serial', not_null => 1 },
13
  type         => { type => 'varchar', length => 255 },
14
  package_name => { type => 'varchar', length => 255 },
15 16
  last_run_at  => { type => 'timestamp' },
16 17
  next_run_at  => { type => 'timestamp' },
17
  data         => { type => 'text' },
18
  active       => { type => 'boolean' },
19
  cron_spec    => { type => 'varchar', length => 255 },
18
  package_name => { type => 'varchar', length => 255 },
19
  type         => { type => 'varchar', length => 255 },
20 20
);
21 21

  
22 22
__PACKAGE__->meta->primary_key_columns([ 'id' ]);
23 23

  
24
# __PACKAGE__->meta->initialize;
25

  
26 24
1;
27 25
;

Auch abrufbar als: Unified diff