Closed FrittenKeeZ closed 1 year ago
origin
or form
field which can help with performance when querying for data across both tables but does not enforce referential integrity between them as would have previously been done through a foreign key constraint before it was removed here in this commit/diff above.. Sorry I deleted my comment because right after I realized how long this has been opened, I didn't want to bother you. I was going to just sort it out myself. 😊 But thanks for updating that.
@jasonvarga I know you've got a seperate fix for the FK errors at https://github.com/statamic/eloquent-driver/pull/160 but I still think this is worth merging as it solves Jack's original issue. Do you have any concerns?
@FrittenKeeZ I've added an update script to provide migrations for existing installs so that the table definitions match going forward.
Also added index to entries order, and re-aligned migrations with Laravel's stub.
Fixes #97