Skip to content
This repository has been archived by the owner on Dec 29, 2020. It is now read-only.

Commit

Permalink
feat(scripts): apply utils during schema create
Browse files Browse the repository at this point in the history
  • Loading branch information
ssube committed Dec 13, 2019
1 parent 2ff1a1d commit e022eb4
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion scripts/schema-create.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,15 @@ else
echo "Please refer to the docs for more info: https://docs.timescale.com/latest/using-timescaledb/data-retention"
fi

echo "Creating utility functions..."
psql -f schema/utils/instance.sql
psql -f schema/utils/metric.sql
psql -f schema/utils/time.sql

echo "Creating continuous aggregates..."
# container caggs
psql -f schema/cagg/container/cpu.sql
psql -f schema/cagg/container/mem.sql
# instance caggs
psql -f schema/cagg/instance/load.sql
psql -f schema/cagg/instance/pods.sql
psql -f schema/cagg/instance/pods.sql

0 comments on commit e022eb4

Please sign in to comment.