SQL script not being executed for file based module | jeckels | 2014-06-25 10:47 |
Status: Closed | ||
Hi Will, You may have added your SQL script after your server had already upgraded your module to version 1.0. The server keeps track of the last version of the module that was deployed, and doesn't run scripts that are added after that point. Try renaming your script to fermentation-1.00-1.01.sql, and bumping the Version in module.properties to 1.01. Then build (if you're doing that as a deployment step) and start Tomcat. The server should automatically notice that it needs to upgrade the module, find your script, and run it as part of the startup process. Thanks, Josh |
||