Skip to content

Commit

Permalink
[Ili2pgImportSchema] expose createEnumTabsWithId
Browse files Browse the repository at this point in the history
  • Loading branch information
edigonzales committed Dec 1, 2023
1 parent aa801f5 commit 047efb7
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ public class Ili2pgImportSchema extends Ili2pgAbstractTask {
public boolean createEnumColAsItfCode = false;
@Input
@Optional
public boolean createEnumTabsWithId = false;
@Input
@Optional
public boolean createImportTabs = false;
@Input
@Optional
Expand Down Expand Up @@ -222,6 +225,9 @@ private void init(Config settings) {
if (createEnumColAsItfCode) {
settings.setCreateEnumColAsItfCode(settings.CREATE_ENUMCOL_AS_ITFCODE_YES);
}
if (createEnumTabsWithId) {
settings.setCreateEnumDefs(Config.CREATE_ENUM_DEFS_MULTI_WITH_ID);
}
if (createImportTabs) {
settings.setCreateImportTabs(true);
}
Expand Down

0 comments on commit 047efb7

Please sign in to comment.