OpenConcerto

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

svn://code.openconcerto.org/openconcerto

Rev

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

Rev 140 Rev 154
Line 73... Line 73...
73
    public Module(ModuleFactory f) throws IOException {
73
    public Module(ModuleFactory f) throws IOException {
74
        super(f);
74
        super(f);
75
    }
75
    }
76
76
77
    @Override
77
    @Override
78
    protected void install(DBContext ctxt) {
78
    protected void install(DBContext ctxt) throws SQLException, IOException {
79
        super.install(ctxt);
79
        super.install(ctxt);
80
        // TODO use version to upgrade
80
        // TODO use version to upgrade
81
        if (ctxt.getRoot().getTable(TABLE_LEAD) == null) {
81
        if (ctxt.getRoot().getTable(TABLE_LEAD) == null) {
82
            final SQLCreateTable createTable = ctxt.getCreateTable(TABLE_LEAD);
82
            final SQLCreateTable createTable = ctxt.getCreateTable(TABLE_LEAD);
83
83