Laravel Single Table Migration

Pinterest LinkedIn Tumblr

Laravel Specific Table Migration

First you should create one migration file for your table like:

public function up()
        Schema::create('test', function (Blueprint $table) {

After migrations you should put the particular file name. or if you have any folder inside migration then just add that folder name after the migration.

php artisan migrate:refresh --path=database/migrations/2020_04_19_133129_create_tests_table.php

Write A Comment