Skip to content

Commit

Permalink
Update generator.js
Browse files Browse the repository at this point in the history
  • Loading branch information
mshima authored Sep 24, 2024
1 parent e0cac1d commit e8e790b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions generators/quarkus/generator.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,10 @@ export default class extends BaseApplicationGenerator {
async workaround({ application }) {
// Workaround jhipster but with null choice.
application.devDatabaseType = this.jhipsterConfigWithDefaults.devDatabaseType;
application.devDatabaseTypeH2Any = ['h2Disk', 'h2Memory'].includes(application.devDatabaseType);
application.liquibaseAddH2Properties = application.devDatabaseTypeH2Any;
application.devDatabaseTypeH2Disk = application.devDatabaseType === 'h2Disk';
application.devDatabaseTypeH2Memory = application.devDatabaseType === 'h2Memory';
},
async preparingTemplateTask({ source, application }) {
source.addEntryToCache = ({ entry }) => {
Expand Down

0 comments on commit e8e790b

Please sign in to comment.