mirror of
https://github.com/hatchet-dev/hatchet.git
synced 2026-01-06 00:40:10 -06:00
* feat: workflow run limits * fix: resource exhausted 429 * feat: event limit * feat: worker limit * fix: sensible error * fix: pb * feat: expose limits api * feat: default limits * feat: add enable alert option * feat: slack and email alerts * fix: cron interval * feat: make metered util * wip: schedules and crons * chore: squash migration * fix: select or insert * fix: remove unfinished meter * chore: atlas migration * fix: template format * fix: shared ErrResourceExhausted * feat: cache * fix: limit can be nil * fix: clarification * fix: close meter ticker * fix: friendly error for child workflows
15 lines
321 B
Bash
Executable File
15 lines
321 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# check if the first argument is empty
|
|
if [ -z "$1" ]; then
|
|
echo "Usage: $0 <version>"
|
|
exit 1
|
|
fi
|
|
|
|
atlas migrate hash --dir "file://sql/migrations"
|
|
|
|
atlas migrate diff $1 \
|
|
--dir "file://sql/migrations" \
|
|
--to "file://sql/schema/schema.sql" \
|
|
--dev-url "docker://postgres/15/dev?search_path=public"
|