I want to create a BaseMigration
class like in this tutorial. I've saved it as app/database/migrations/BaseMigration.php
and extend it in my other migrations, but when I try to run my migrations via php artisan migrate
I get the following error:
PHP Fatal error: Class 'BaseMigration' not found in ...\app\database\migrations\2014_02_19_071702_create_users_table.php on line 6
Obviously it's having trouble autoloading it. How do I tell Laravel where to find it, or where should I move it to so that it can be found?