Skip to content
This repository was archived by the owner on Nov 9, 2022. It is now read-only.

Commit cfd2978

Browse files
Merge pull request #766 from grtjn/732-skip-no-schemas-silently
Fixed #732: only attempt deploy_schemas if schemas.dir exists
2 parents 9e7bae9 + e5d0be0 commit cfd2978

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

deploy/lib/server_config.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1188,7 +1188,9 @@ def clear
11881188
def install
11891189
bootstrap
11901190
deploy_modules
1191-
deploy_schemas
1191+
if File.exist?(@properties["ml.schemas.dir"])
1192+
deploy_schemas
1193+
end
11921194
if @properties["ml.triggers-db"] then
11931195
deploy_triggers
11941196
end

0 commit comments

Comments
 (0)