OpenConcerto

Dépôt officiel du code source de l'ERP OpenConcerto
sonarqube

svn://code.openconcerto.org/openconcerto

Rev

Rev 147 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 147 Rev 153
Line 45... Line 45...
45
    public Module(ModuleFactory f) throws IOException {
45
    public Module(ModuleFactory f) throws IOException {
46
        super(f);
46
        super(f);
47
    }
47
    }
48
 
48
 
49
    @Override
49
    @Override
50
    protected void install(DBContext ctxt) {
50
    protected void install(DBContext ctxt) throws SQLException, IOException {
51
        super.install(ctxt);
51
        super.install(ctxt);
52
        // TODO use version to upgrade
52
        // TODO use version to upgrade
53
        if (ctxt.getRoot().getTable(TABLE_CUSTOMER_SUPPORT_TICKET) == null) {
53
        if (ctxt.getRoot().getTable(TABLE_CUSTOMER_SUPPORT_TICKET) == null) {
54
            final SQLCreateTable createTable = ctxt.getCreateTable(TABLE_CUSTOMER_SUPPORT_TICKET);
54
            final SQLCreateTable createTable = ctxt.getCreateTable(TABLE_CUSTOMER_SUPPORT_TICKET);
55
 
55