80595/how-to-run-specific-migration-in-laravel
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?
Hello @kartik,
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!! Thank You!!
You need do little modification in your ...READ MORE
Hello @kartik, Don't put the DB::insert() inside of ...READ MORE
Hello @kartik, If you place database config on ...READ MORE
Hello @kartik, Laravel migration generator for your existing ...READ MORE
Hey @kartik, First you have to go to ...READ MORE
Named route is used to give specific ...READ MORE
Hello, This is simple you just need to ...READ MORE
Hey @kartik, Named routing is another amazing feature of ...READ MORE
Hello @kartik, Use this command it worked for ...READ MORE
Hii, Migrations are like version control for your database, ...READ MORE
OR
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.