Skip to content

Commit

Permalink
remove relationship check
Browse files Browse the repository at this point in the history
  • Loading branch information
mshima authored May 16, 2024
1 parent 543cebb commit c6a6605
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions generators/server/generator.js
Original file line number Diff line number Diff line change
Expand Up @@ -502,22 +502,6 @@ export default class JHipsterServerGenerator extends BaseApplicationGenerator {
});
}

get [BaseApplicationGenerator.PREPARING_EACH_ENTITY_RELATIONSHIP]() {
return this.delegateTasksToBlueprint(() => this.preparingEachEntityRelationship);
}

get postPreparingEachEntity() {
return this.asPostPreparingEachEntityTaskGroup({
checkForTableName({ application, entity }) {
const databaseType = entity.prodDatabaseType ?? application.prodDatabaseType ?? entity.databaseType ?? application.databaseType;
const validation = this._validateTableName(entity.entityTableName, databaseType, entity);
if (validation !== true) {
throw new Error(validation);
}
},
});
}

get [BaseApplicationGenerator.POST_PREPARING_EACH_ENTITY]() {
return this.delegateTasksToBlueprint(() => this.postPreparingEachEntity);
}
Expand Down

0 comments on commit c6a6605

Please sign in to comment.