You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- name: Fail if schema changed without a committed migration
run: |
set -euo pipefail
changes="$(git status --porcelain -- ee/packages/den-db/drizzle)"
if [ -n "$changes" ]; then
echo "$changes"
echo "::error::Schema changed without a committed migration. Run 'pnpm --filter @openwork-ee/den-db db:generate' locally and commit the generated files in ee/packages/den-db/drizzle."