Write helper for ensuring two models are compatible
devinivy opened this issue · comments
devin ivy commented
For two models to be compatible in schwifty-land, one model must extend the other and they must share the same class name
.
devin ivy commented
We also need to ensure tableName
s are the same, for migrations compatibility. (Thanks @wswoodruff!)