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