Skip to content

Commit

Permalink
[SQL] Fix hardcoded parent ID for IssueTrackerDataPath in patches
Browse files Browse the repository at this point in the history
  • Loading branch information
zaliqarosli committed Mar 23, 2023
1 parent ae2975e commit 488bec8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -14,7 +14,7 @@ CREATE TABLE `issues_attachments` (
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

INSERT INTO ConfigSettings (Name, Description, Visible, AllowMultiple, DataType, Parent, Label, OrderNumber)
VALUES('IssueTrackerDataPath', 'Path to Issue Tracker data files', 1, 0, 'web_path', 26, 'Issue Tracker Data Path', 8);
SELECT 'IssueTrackerDataPath', 'Path to Issue Tracker data files', 1, 0, 'web_path', ID, 'Issue Tracker Data Path', 8 FROM ConfigSettings WHERE Name="paths";

INSERT INTO Config (ConfigID, Value)
SELECT
Expand Down
2 changes: 1 addition & 1 deletion SQL/Release_patches/22.0_To_23.0_upgrade.sql
Expand Up @@ -228,7 +228,7 @@ CREATE TABLE `issues_attachments` (
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

INSERT INTO ConfigSettings (Name, Description, Visible, AllowMultiple, DataType, Parent, Label, OrderNumber)
VALUES('IssueTrackerDataPath', 'Path to Issue Tracker data files', 1, 0, 'web_path', 26, 'Issue Tracker Data Path', 8);
SELECT 'IssueTrackerDataPath', 'Path to Issue Tracker data files', 1, 0, 'web_path', ID, 'Issue Tracker Data Path', 8 FROM ConfigSettings WHERE Name="paths";

INSERT INTO Config (ConfigID, Value)
SELECT
Expand Down

0 comments on commit 488bec8

Please sign in to comment.