Skip to content

Commit

Permalink
DO NOT MERGE: Turn on debug for scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
JeremyMcCormick committed Aug 12, 2024
1 parent 86129f7 commit d8c2682
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/test/create-databases.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ error_occurred=0
# schemas are missing required indices for FK constraints.
for yaml_file in yml/*.yaml; do
echo "Creating database from $yaml_file..."
felis --log-level ERROR create --drop --ignore-constraints "$yaml_file"
felis --log-level DEBUG create --drop --ignore-constraints "$yaml_file"
# Check if the felis command was successful
if [ $? -ne 0 ]; then
echo "Error: Failed to create database from $yaml_file"
Expand Down
2 changes: 1 addition & 1 deletion scripts/test/generate-sql-files.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ error_occurred=0

for yaml_file in yml/*.yaml; do
echo "Creating SQL from $yaml_file..."
felis --log-level ERROR create --ignore-constraints --engine-url=${database}:// \
felis --log-level DEBUG create --ignore-constraints --engine-url=${database}:// \
--output-file $outputdir/"$(basename "$yaml_file" .yaml).sql" $yaml_file
# Check if the felis command was successful
if [ $? -ne 0 ]; then
Expand Down

0 comments on commit d8c2682

Please sign in to comment.