Revision 3eb3d1b1
Von Moritz Bunkus vor mehr als 11 Jahren hinzugefügt
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
MetaSetup: Spalten- und Fremdschlüsselnamen alphabetisch sortieren