mirror of
https://github.com/BetterCorp/BetterFrame.git
synced 2026-05-26 16:56:33 +00:00
Previous migration hardcoded ALTER TABLE ADD CONSTRAINT for FK re-add, but production DB may have different columns than CREATE TABLE schema (api_keys had no user_id). Now uses _bf_add_fk() helper that checks both source column and target column exist before adding FK. Skips silently if either is missing. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| src | ||
| .gitignore | ||
| bsb-tests.json | ||
| package.json | ||
| tsconfig.json | ||