CreateGroupsTable::up PHP Method

up() public method

Run the migrations.
public up ( )
    public function up()
    {
        Schema::create('groups', function (Blueprint $table) {
            $table->increments('id');
            $table->string('name');
            $table->timestamps();
            $table->softDeletes();
        });
    }
CreateGroupsTable