Revision 14e3a7b9
Von Werner Hahn vor 7 Monaten hinzugefügt
SL/DB/MetaSetup/BackgroundJob.pm | ||
---|---|---|
12 | 12 |
active => { type => 'boolean' }, |
13 | 13 |
cron_spec => { type => 'varchar', length => 255 }, |
14 | 14 |
data => { type => 'text' }, |
15 |
description => { type => 'text' }, |
|
15 | 16 |
id => { type => 'serial', not_null => 1 }, |
16 | 17 |
last_run_at => { type => 'timestamp' }, |
17 | 18 |
next_run_at => { type => 'timestamp' }, |
SL/DB/MetaSetup/BackgroundJobHistory.pm | ||
---|---|---|
10 | 10 |
|
11 | 11 |
__PACKAGE__->meta->columns( |
12 | 12 |
data => { type => 'text' }, |
13 |
description => { type => 'text' }, |
|
13 | 14 |
error => { type => 'text', alias => 'error_col' }, |
14 | 15 |
id => { type => 'serial', not_null => 1 }, |
15 | 16 |
package_name => { type => 'varchar', length => 255 }, |
sql/Pg-upgrade2/add_description_to_backgroundjob_and_backgroundjobhistory.sql | ||
---|---|---|
1 |
-- @tag: add_description_to_backgroundjob_and_backgroundjobhistory |
|
2 |
-- @description: Spalte 'description' in 'background_jobs' 'background_job_history |
|
3 |
-- @depends: release_3_9_0 |
|
4 |
ALTER TABLE background_jobs ADD COLUMN description TEXT; |
|
5 |
ALTER TABLE background_job_histories ADD COLUMN description TEXT; |
Auch abrufbar als: Unified diff
BGJ neues Feld 'description' auch bei BGJH