Skip to content

Commit

Permalink
Merge pull request #304 from lsst/tickets/DM-46957
Browse files Browse the repository at this point in the history
Use new CLI command in tap-schema build
  • Loading branch information
JeremyMcCormick authored Jan 29, 2025
2 parents b11dc72 + fc157c0 commit 22ae858
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion tap-schema/build
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,14 @@ shift
schema_index=0
for file in $@
do
felis load-tap --tap-schema-index $schema_index --dry-run --engine-url=mysql:// --tap-schema-name=tap_schema --tap-tables-postfix=11 $file > sql/`basename $file`.sql
felis load-tap-schema \
--tap-schema-index $schema_index \
--dry-run \
--engine-url=mysql:// \
--tap-schema-name=tap_schema \
--tap-tables-postfix=11 \
--output-file sql/`basename $file`.sql \
$file
schema_index=$((schema_index+1))
done

Expand Down

0 comments on commit 22ae858

Please sign in to comment.