Skip to content

Instantly share code, notes, and snippets.

@azazqadir
Created October 19, 2018 14:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save azazqadir/a4e197861bcfb62a196d685b402e8c20 to your computer and use it in GitHub Desktop.
Save azazqadir/a4e197861bcfb62a196d685b402e8c20 to your computer and use it in GitHub Desktop.
Creating Migration Table in Laravel for ToDo App

To create a simple ToDo application in Laravel, you first need to setup database. For that, start with configuring the .env file. Now to create table in Laravel, you need to create migration table. For that, use the following command

php artisan make:migration create_todo_table

Now execute migration with following command:

php artisan migrate

Full article on Creating table in Laravel for todo app.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment