1

I run my migrations but in the migrate mysql table don't appear all the migrations classes.

These are my migrations

enter image description here

And this is the migration table:

enter image description here

As you can see, the last migration registered in the table is from 2014-09-25, but I have till 2014-12-03 migration class.

It looks weird, doesn't it?

Iván Casanova
  • 351
  • 1
  • 6
  • 16
  • Please show the snippet for creating table, or paste one sample file here – Vijay Sankhat May 23 '15 at 05:51
  • How is your config/app.php file? – Dimitri Acosta May 23 '15 at 15:00
  • There might be an error in compromiso migration that's breaking it. Are there error messages when running migrate? – aethergy May 24 '15 at 01:47
  • Yes, thanks. Problem solved. – Iván Casanova May 27 '15 at 15:35
  • Is there an actual answer here? – Peter Smith Aug 30 '21 at 18:53
  • ah, if you run `artisan migrate` (or, `php artisan migrate`), then you might get some errors -- whereas 'creating the migration' is just creating the '....migration...' file itself. to actually affect your db schema, you need to actually run one of the migration commands. i had a further issue -- i had aliased in my .bashrc an 'artisan' command in another directory. that created some fun/weird errors. (e.g. `alias artisan=/path/to/specific/project/foo/artisan`) – Peter Smith Aug 30 '21 at 19:28

0 Answers0