Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
Conditionally run the necesary SQL for this to happen. GitLab issue #266 Thanks to Baptiste GAULLET @bat79a for finding the solution.