Reputation:
Whenever I the migrate command, only one table is created. Yet I have more than one migration php files for different tables. How can I fix this? Any help thanks in advance.
This is what I get in the terminal when I run 'php artisan migrate'
Migration table created successfully. Migrating: 2020_03_29_184109_create_users_table
Upvotes: 0
Views: 1823
Reputation: 975
Did you migrated before? if yes, the framework will only migrate what hasn't been migrated.
Do php artisan migrate:fresh
to force migrations.
Upvotes: 1