logo logo
  • Articles
  • Snippets
  • Topics
    • Login
    • Register

    • Mode:

How to create Laravel single table migrate

  • Mar 04, 2023
  • Snippet ยท 1 min
  • 32 words
  • Share profile in a message
  • Save your profile to PDF
  • Lock profile

  • Profile settings
  • Like (0)
  • Favorite (0)

Before the migration, you must create a migrate table. Then just run this,

php artisan migrate --path=/database/migrations/time_create_example_table.php

Laravel
avatar
Md Najmul Hasan

Similar Stories

Laravel Pruning Failed Jobs

snippet

Laravel 10 Usage of latest() for Eloquent Queries

snippet

Preview Laravel Mailable's Blade template

snippet

Laravel Calculate Estimated Reading Time

snippet

Reuse The Same FormRequest Class for Both store() and update() in Laravel

snippet
Random Stories

Laravel Calculate Estimated Reading Time

snippet

Tailwind dynamic modal with javascript

snippet

Target class [Spatie\Permission\Middleware\RoleMiddleware] does not exist.

snippet

Make array as an object in PHP

snippet

Laravel Pruning Failed Jobs

snippet