Reputation: 7819
For a fresh start,
I've deleted all my migration files, dropped all tables in MySQL and deleted all the table migrations columns in MySQL.
But when i'm running php artisan make:model Article
Laravel responds by
Model created successfully.
Created Migration: 2015_04_28_181243_create_articles_table
Which is a migration file i've deleted previously! Why does it keep returning this way? and how can i get rid of it completely?
Upvotes: 1
Views: 52
Reputation: 153140
Well the make:model
command generates a migration by default.
To opt-out of this add the no-migration
option:
php artisan make:model Article --no-migration
Upvotes: 2