-
Notifications
You must be signed in to change notification settings - Fork 375
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Manually map models on migration instead of loading via directory (#1928
) Currently if you publish the migrations they can fail due to trying to read a directory relative to the the vendor folder. This PR instead opts to manually map the models to prevent this issue completely. --------- Co-authored-by: alecritson <[email protected]> Co-authored-by: Glenn Jacobs <[email protected]>
- Loading branch information
1 parent
f3db113
commit c4381dc
Showing
1 changed file
with
44 additions
and
8 deletions.
There are no files selected for viewing
52 changes: 44 additions & 8 deletions
52
packages/core/database/migrations/2024_03_15_100000_remap_polymorphic_relations.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters