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
When baking a model for a table with a column that "looks" like a foreign key such as external_id but has no target table, no validation is generated for the column. Instead an association to a non-existent model is generated.
After removing the invalid association, the user might not notice the validation is missing.
The text was updated successfully, but these errors were encountered:
othercorey
changed the title
Baking model with *_id column that isn't a foreign key doesn't generate validation
Table with *_id column that isn't a foreign key doesn't generate validation
Jun 16, 2022
When baking a model for a table with a column that "looks" like a foreign key such as
external_id
but has no target table, no validation is generated for the column. Instead an association to a non-existent model is generated.After removing the invalid association, the user might not notice the validation is missing.
The text was updated successfully, but these errors were encountered: