Laravel 5 Migration

Migrations play a very important role in any MVC Framework. They work as a version control for your database. By using Migrations we can update the database schema and stay up to date on the current schema. By using Migration we can easily manage our schema.

Migrations Creation:
In laravel5 Migrations can be create using the following command.

Command:

`php artisan make:migration createUserTableName`

when you type this command and see the folder app/database/migrations. Here we can see our migration table has been created according to the timestamp. If we want to indicate our table name then by using –table and –create we can indicate the name of the table.

Laravel-5 -migration

– Read the full blog at: Laravel 5 Migration

FindNerd allows you to post PHP Questions and Answers. In this forum PHP developers can collaborate with each other to resolve a specific PHP queries, as all the community members here are highly experienced and can provide answers to any PHP issue within a short span of time.

Apart from this,  If you have any Html language query, you can post at Html help Forum and get instantly resolved it from highly experienced FindNerd community members.

Advertisements
Laravel 5 Migration

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s