Commit 18cd85fc by Tuukka Kivilahti

bootstrapstuff

1 parent 775eeb93
...@@ -35,6 +35,9 @@ public class BootstrapBean implements BootstrapBeanLocal { ...@@ -35,6 +35,9 @@ public class BootstrapBean implements BootstrapBeanLocal {
dbUpdates.add(new String[] { "ALTER TABLE site_page_content ADD COLUMN locale varchar(10)" }); dbUpdates.add(new String[] { "ALTER TABLE site_page_content ADD COLUMN locale varchar(10)" });
dbUpdates.add(new String[] { "ALTER TABLE products ALTER COLUMN vat TYPE NUMERIC(4,3)" }); dbUpdates.add(new String[] { "ALTER TABLE products ALTER COLUMN vat TYPE NUMERIC(4,3)" });
dbUpdates.add(new String[] { "ALTER TABLE actionlog_messages DROP COLUMN crew" }); dbUpdates.add(new String[] { "ALTER TABLE actionlog_messages DROP COLUMN crew" });
dbUpdates.add(new String[] { "delete from application_permissions where application ilike '%terminal%'" });
} }
@EJB @EJB
......
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<application xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://xmlns.jcp.org/xml/ns/javaee" xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/application_7.xsd" version="7"> <application xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://xmlns.jcp.org/xml/ns/javaee" xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/application_7.xsd" version="7">
<display-name>moya-ear</display-name> <display-name>moya-ear</display-name>
<module> <module>
<ejb>moya-beans-0.2.0.jar</ejb> <ejb>moya-beans-0.2.0.jar</ejb>
</module> </module>
<module> <module>
<web> <web>
<web-uri>moya-web-0.2.0.war</web-uri> <web-uri>moya-web-0.2.0.war</web-uri>
<context-root>/MoyaWeb</context-root> <context-root>/MoyaWeb</context-root>
</web> </web>
</module> </module>
<module> <module>
<web> <web>
<web-uri>moya-mgmt-web-0.2.0.war</web-uri> <web-uri>moya-mgmt-web-0.2.0.war</web-uri>
<context-root>/EventMgmt</context-root> <context-root>/EventMgmt</context-root>
</web> </web>
</module> </module>
<module>
<web>
<web-uri>moya-terminal-web-0.2.0.war</web-uri>
<context-root>/MoyaTerminalWeb</context-root>
</web>
</module>
<library-directory>lib</library-directory> <module>
<web>
<web-uri>moya-terminal-web-0.2.0.war</web-uri>
<context-root>/MoyaTerminalWeb</context-root>
</web>
</module>
<library-directory>lib</library-directory>
</application> </application>
\ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!