Laravel - Migrations - Creating Tables

To create a new database table, use the create method on the Schema facade. The create method accepts two arguments: the first is the name of the table, while the second is a closure which receives a Blueprint object that may be used to define the new table:

    use Illuminate\Database\Schema\Blueprint;
    use Illuminate\Support\Facades\Schema;
    Schema::create('users', function (Blueprint $table) {

When creating the table, you may use any of the schema builder's column methods to define the table's columns.