80016/how-can-i-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 it worked for me:
php artisan migrate --path=/database/migrations/my_migration.php
Add the .php extension in path like php artisan migrate --path=/database/migrations/my_migrations.php
Hope it helps!!
Thank you!!
Hello, Migrations are like version control for your database, ...READ MORE
Hello @kartik, If it isn't already there, create ...READ MORE
Hello @kartik, This is the way how to ...READ MORE
Hello @kartik, You can use : sha1(time()) Explanation: sha1 is ...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: php artisan migrate --path=/database/migrations/my_migration.php And ...READ MORE
Hello @kartik, You should create a new migration ...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.