Closed promatik closed 3 years ago
By the way, this loadMigrationsFrom
thing is great, we should start thinking about migrating to that on all the packages 😅
Totally agree - loadMigrationsFrom
everywhere!!! We just need to make sure this won't produce a warning, saying the migration is in two places (I get that sometimes but I couldn't get it now when testing this PR... 🤷♂️)
Related with #267
Ok, I've been "investigating" 😅 Now we publish;
Config isn't needed, but I think we should publish. 🤷♂️ Let me know what you think. Translations aren't needed, laravel loads them. Migrations aren't need, Laravel can load them, but we need to change the code from
publishMigrations
toloadMigrationsFrom
.I did that on this PR, this makes the migrations mandatory, developers can't opt out. I think it's ok in this case, but let me know if you don't think that way.