I have a migration file that I want to run, (only this file not all the migrations file).
I run this command:
php artisan migrate --path=/database/migrations/2019_08_21_225302_delete_encode_crids_ssp.php
In vscode I open the terminal and get this message:
How I can make it to run this specific file, (not want all the files just this file)
this is the code:
public function up()
{
Schema::table('ssp', function (Blueprint $table) {
$table->dropColumn('encode_crids');
});
}
If you want to re-run the migration with force, use migrate:refresh
php artisan migrate:refresh --path=/database/migrations/2019_08_21_225302_delete_encode_crids_ssp.php