chore: drop sev from validation rule schema#1093
Conversation
|
Warning Rate limit exceeded
To keep reviews running without waiting, you can enable usage-based add-on for your organization. This allows additional reviews beyond the hourly cap. Account admins can enable it under billing. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (4)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Review rate limit: 0/1 reviews remaining, refill in 29 minutes and 19 seconds.Comment |
There was a problem hiding this comment.
Pull request overview
Removes the severity field from the policy_rule_plan_validation_opa validation-rule table schema and applies the corresponding database migration, aligning the Drizzle schema and snapshots with the updated DB shape.
Changes:
- Drop
severitycolumn frompolicy_rule_plan_validation_opaDrizzle schema. - Add migration
0194_brief_longshotto drop the column in Postgres. - Update Drizzle migration journal and snapshot metadata to reflect the new schema.
Reviewed changes
Copilot reviewed 3 out of 4 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| packages/db/src/schema/deployment-plan.ts | Removes severity column from the Drizzle table definition. |
| packages/db/drizzle/0194_brief_longshot.sql | Adds migration to drop severity from policy_rule_plan_validation_opa. |
| packages/db/drizzle/meta/_journal.json | Registers the new migration in the Drizzle journal. |
| packages/db/drizzle/meta/0194_snapshot.json | Updates the schema snapshot after dropping the column. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
No description provided.