laracasts / Laravel-5-Generators-Extended

This package extends the core file generators that are included with Laravel 5
https://laracasts.com/lessons/faster-workflow-with-generators
MIT License
2.45k stars 347 forks source link

Fix Error undefined function #173

Closed jtyms closed 4 years ago

jtyms commented 4 years ago

to solve error when creating schema with foreign key relationship

tabacitu commented 4 years ago

Thanks for the PR @jtyms - I think there's only one more helper somewhere - as reported in https://github.com/laracasts/Laravel-5-Generators-Extended/commit/ca9c69375f64923550907432b1056f54b4f3e9e7#commitcomment-37736016

Can you please confirm/deny that? And that https://github.com/laracasts/Laravel-5-Generators-Extended/pull/172 fixes both? I won't be at a computer for a few hours and would rather merge a fix for this ASAP.

jtyms commented 4 years ago

172 fixes pivot issues

173 fixes foreign key issue

tabacitu commented 4 years ago

Great, thanks a lot for the help @jtyms ! It's now merged and tagged. A composer update should get you 1.1.8 which has this fixed.

Cheers!