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
This would create a migration, on execute it a table User user would be created with it's fields and a field category_id referencing category as foreign key.
Actual Behavior
This feature probably don't exist if it exists this isn't documented.
The text was updated successfully, but these errors were encountered:
This is a (multiple allowed):
bug
enhancement
feature-discussion (RFC)
Bake plugin version: Cake migrations should support table references like Rails, this way would be very usefull. If this exists please document.
Expected Behavior
When developer executs this command
cake bake migration CreateTableUser name:text category_id:references
This would create a migration, on execute it a table User user would be created with it's fields and a field category_id referencing category as foreign key.
Actual Behavior
This feature probably don't exist if it exists this isn't documented.
The text was updated successfully, but these errors were encountered: