Skip to content

Commit

Permalink
fix (engine): no worker_model_name column (#2657)
Browse files Browse the repository at this point in the history
Signed-off-by: Yvonnick Esnault <yvonnick.esnault@corp.ovh.com>
  • Loading branch information
yesnault authored and sguiheux committed May 11, 2018
1 parent fee8d8b commit 1cadb33
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions engine/sql/092_gittag.sql
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
-- +migrate Up
UPDATE action set description = 'CDS Builtin Action. Tag the current branch and push it. Semver used if fully compatible with https://semver.org/' where name = 'GitTag';
UPDATE action_parameter SET name = 'tagMetadata', description = 'Metadata of the tag. Example: cds.42 on a tag 1.0.0 will return 1.0.0+cds.42' where name = 'tagName' and action_id = (select id from action where name = 'GitTag');
INSERT into action_parameter (action_id, name, description, type, value, worker_model_name) values((select id from action where name = 'GitTag'), 'tagPrerelease', 'Prerelase version of the tag. Example: alpha on a tag 1.0.0 will return 1.0.0-apha', 'string', '', '');
INSERT into action_parameter (action_id, name, description, type, value, worker_model_name) values((select id from action where name = 'GitTag'), 'tagLevel', 'Set the level of the tag. Must be ''major'' or ''minor'' or ''patch''', 'string', '', '');
INSERT into action_parameter (action_id, name, description, type, value) values((select id from action where name = 'GitTag'), 'tagPrerelease', 'Prerelase version of the tag. Example: alpha on a tag 1.0.0 will return 1.0.0-apha', 'string', '');
INSERT into action_parameter (action_id, name, description, type, value) values((select id from action where name = 'GitTag'), 'tagLevel', 'Set the level of the tag. Must be ''major'' or ''minor'' or ''patch''', 'string', '');


-- +migrate Down
Expand Down

0 comments on commit 1cadb33

Please sign in to comment.