Migration not working |
I'm following the migration documentation, but I cant get a working example.
"The migration class "App\Database\Migrations\Migration_Add_blog" could not be found." In Database/Migrations there is the file 20121031100537_Add_blog.php The current version is, in config/Migrations.php Code: $currentVersion = 20121031100537; Within the controller I have PHP Code: <?php namespace App\Controllers; I only added: PHP Code: <?php namespace App\Controllers; To make it accessible When i switch to sequential 001_add_blog.php I got the same error, when i change the file to 1_add_blog.php, it gives no errors, but no table is added Any idea? thanks |
Messages In This Thread |
Migration not working - by ponzo - 04-25-2018, 07:58 AM
RE: Migration not working - by natanfelles - 04-25-2018, 06:03 PM
RE: Migration not working - by ponzo - 04-25-2018, 10:51 PM
|