I create on address table migration but one migration is already in the database it gives following error :
Base table or view already exists: 1050 Table 'notification' already exists
So, Can I run specific migration? How can I run in Laravel?
Use this command:
php artisan migrate --path=/database/migrations/my_migration.php
And add the .php extension in path like php artisan migrate --path=/database/migrations/my_migrations.php
Hope it helps!!
You need do little modification in your ...READ MORE
Don't put the DB::insert() inside of ...READ MORE
If you place database config on ...READ MORE
Laravel migration generator for your existing ...READ MORE
First you have to go to ...READ MORE
Named route is used to give specific ...READ MORE
This is simple you just need to ...READ MORE
Named routing is another amazing feature of ...READ MORE
Use this command it worked for ...READ MORE
Migrations are like version control for your database, ...READ MORE
Already have an account? Sign in.