Skip to content

Commit d38f6f2

Browse files
committed
fixed #312
1 parent bf79d7b commit d38f6f2

File tree

1 file changed

+3
-1
lines changed
  • marklogic-data-hub/src/main/java/com/marklogic/hub

1 file changed

+3
-1
lines changed

marklogic-data-hub/src/main/java/com/marklogic/hub/DataHub.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,9 @@ private List<Command> getCommands(AppConfig config) {
442442

443443
// SQL Views
444444
List<Command> viewCommands = new ArrayList<>();
445-
viewCommands.add(new DeployViewSchemasCommand());
445+
DeployViewSchemasCommand deployViewSchemasCommand = new DeployViewSchemasCommand();
446+
deployViewSchemasCommand.setDatabaseIdOrName(hubConfig.finalDbName);
447+
viewCommands.add(deployViewSchemasCommand);
446448
commands.addAll(viewCommands);
447449

448450
return commands;

0 commit comments

Comments
 (0)