Commit 5f2ebd8e authored by Sergey Sokolenko's avatar Sergey Sokolenko
Browse files

UA-889 Remove hack

parent d5ac5822
Loading
Loading
Loading
Loading
+0 −5
Changes for app/ch/insign/cms/models/Setup.java: 0 added lines, 5 removed lines.
Original line number Diff line number Diff line
@@ -79,11 +79,6 @@ public class Setup {
     */
    public void addCoreCMSData() {

        // FIXME: Seems to be a MySQL-only issue (to be tested on more dbms). There should be a better way to convince JPA to create a @Lob/Longtext instead of varchar field than a native query.
        try {
            JPA.em().createNativeQuery("ALTER TABLE  `cmn_mstring_translations` CHANGE  `TEXT`  `TEXT` LONGTEXT").executeUpdate();
        } catch (Exception e) {}

        // TODO: move language strings to string files
        // TODO: Set proper access rights