migrations/2018_02_20_000000_add_api_provider_fields_to_user_table.php
public function up()
    {
        Schema::table('users', function (Blueprint $table) {
            if (!Schema::hasColumn($table->getTable(), 'uuid')) {
                $table->char('uuid', 36)->unique()->default('');
            }
            if (!Schema::hasColumn($table->getTable(), 'username')) {
                $table->string('username')->unique()->default('');
            }
            if (!Schema::hasColumn($table->getTable(), 'privileges')) {
                $table->text('privileges')->nullable();
            }
            if (!Schema::hasColumn($table->getTable(), 'apitoken')) {
                $table->string('apitoken', 16)->unique()->nullable();
            }
            if (!Schema::hasColumn($table->getTable(), 'apisecretkey')) {
                $table->string('apisecretkey', 40)->nullable();
            }
        });
    }
public function up()
    {
        Schema::table('users', function (Blueprint $table) {
            if (!Schema::hasColumn($table->getTable(), 'uuid')) {
                $table->char('uuid', 36)->unique()->default('');
            }
            if (!Schema::hasColumn($table->getTable(), 'username')) {
                $table->string('username')->unique()->default('');
            }
            if (!Schema::hasColumn($table->getTable(), 'privileges')) {
                $table->text('privileges')->nullable();
            }
            if (!Schema::hasColumn($table->getTable(), 'apitoken')) {
                $table->string('apitoken', 16)->unique()->nullable();
            }
            if (!Schema::hasColumn($table->getTable(), 'apisecretkey')) {
                $table->string('apisecretkey', 40)->nullable();
            }
        });
    }
Run the migrations.

@return void