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

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

snippet

Getting error to install php artisan ui react --auth for Laravel react ui the error is Could not resolve dependency: peer vite@"^3.0.0" from @vitejs/[email protected]

snippet

Laravel Disable Timestamps

snippet

Find data between two date in Laravel

snippet

Laravel Blade Remove the Last Comma from Foreach Loop

snippet
Random Stories

Make array as an object in PHP

snippet

Two or One required filed in Laravel validation

snippet

Javascript Check a Number is Even or Odd

snippet

How to Clone a Specific Branch From a Git Repository

snippet

Login With Email Or Username In One Field in Laravel

snippet