Laravel 5.4 Specific Table Migration

前端 未结 21 1460
梦如初夏
梦如初夏 2020-12-07 10:38

Hi read all the included documentation here in https://laravel.com/docs/5.4/migrations.

Is there a way on how to migrate a certain migration file (1 migration only),

21条回答
  •  自闭症患者
    2020-12-07 11:02

    If you want to create one and specific table. You can use this code. It works for laravel(5.x) versions.

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

提交回复
热议问题