Plan
- run the UPDATE 52x_Modules` SET AppliedDBRevisions = '' WHERE Name = 'Custom';` to forget last executed deployment scripts
- change to modules/custom/install/project_upgrades.sql file to look like this:
# r1: Initial Project Task (#TASK_ID) SELECT FirstName FROM `52x_Users`; # some comment above error ERROR1 ERROR2 ERROR3 SELECT LastName FROM `52x_Users`; # some comment below error
- login to Admin Console
- go to Tools → System Tools section
- use the Deploy button
- confirm, that:
- SQLs after ERROR1 ERROR2 ERROR3 line wasn't shown
- error wasn't logged into Logs & Reports → System Log section
- get the value of the LogUniqueId field from any record of the 52x_SystemLog database table
- in the /index.php file add $application->deleteLog(LOG_UNIQUE_ID_HERE) after $application->Init(); line
- access changed /index.php file from web browser
- confirm, that log record was deleted