Skip to content

Commit a5b5a1b

Browse files
committed
remove duplicate query in updates
1 parent 77a2b6b commit a5b5a1b

File tree

2 files changed

+0
-12
lines changed

2 files changed

+0
-12
lines changed

administrator/components/com_admin/sql/updates/mysql/4.1.0-2021-07-30.sql

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,6 @@ INSERT INTO `#__workflows` (`id`, `asset_id`, `published`, `title`, `description
1010
INSERT INTO `#__workflow_stages` (`id`, `asset_id`, `ordering`, `workflow_id`, `published`, `title`, `description`, `default`, `checked_out_time`, `checked_out`)
1111
SELECT NULL, 0, 1, `id`, 1, 'COM_WORKFLOW_BASIC_STAGE', '', 1, NULL, 0 FROM `#__workflows` WHERE `title` = 'COM_WORKFLOW_BASIC_WORKFLOW_MODULES';
1212

13-
--
14-
-- Inserting the default stage for the new worklfow
15-
--
16-
INSERT INTO `#__workflow_stages` (`id`, `asset_id`, `ordering`, `workflow_id`, `published`, `title`, `description`, `default`, `checked_out_time`, `checked_out`)
17-
SELECT NULL, 0, 1, `id`, 1, 'COM_WORKFLOW_BASIC_STAGE', '', 1, NULL, 0 FROM `#__workflows` WHERE `title` = 'COM_WORKFLOW_BASIC_WORKFLOW_MODULES';
18-
1913
--
2014
-- Inserting the transitions for the new worklfow
2115
--

administrator/components/com_admin/sql/updates/postgresql/4.1.0-2021-07-30.sql

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,6 @@ INSERT INTO "#__workflows" ("id", "asset_id", "published", "title", "description
1010
INSERT INTO "#__workflow_stages" ("id", "asset_id", "ordering", "workflow_id", "published", "title", "description", "default", "checked_out_time", "checked_out")
1111
SELECT NULL, 0, 1, "id", 1, 'COM_WORKFLOW_BASIC_STAGE', '', 1, NULL, 0 FROM "#__workflows" WHERE "title" = 'COM_WORKFLOW_BASIC_WORKFLOW_MODULES';
1212

13-
--
14-
-- Inserting the default stage for the new worklfow
15-
--
16-
INSERT INTO "#__workflow_stages" ("id", "asset_id", "ordering", "workflow_id", "published", "title", "description", "default", "checked_out_time", "checked_out")
17-
SELECT NULL, 0, 1, "id", 1, 'COM_WORKFLOW_BASIC_STAGE', '', 1, NULL, 0 FROM "#__workflows" WHERE "title" = 'COM_WORKFLOW_BASIC_WORKFLOW_MODULES';
18-
1913
--
2014
-- Inserting the transitions for the new worklfow
2115
--

0 commit comments

Comments
 (0)