Adds a BEFORE trigger and CHECK constraint on profiles to guarantee that is_temporary cannot coexist with a paid plan (solo, team, or annual), regardless of which code path performs the update. Also back-fills any existing inconsistent rows. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| migrations | ||
| migrations_backup | ||
| tests | ||