Skip to content

Commit

Permalink
Increase varchar length on all string columns
Browse files Browse the repository at this point in the history
Signed-off-by: Sam Poyigi <[email protected]>
  • Loading branch information
sampoyigi committed Jun 14, 2022
1 parent d1df044 commit 7a65d99
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions database/migrations/2022_06_14_211028_increase_string_length.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<?php

namespace Igniter\Socialite\Database\Migrations;

use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;

class IncreaseStringLength extends Migration
{
public function up()
{
Schema::table('igniter_socialite_providers', function (Blueprint $table) {
$table->string('provider', 255)->change();
$table->string('provider_id', 255)->change();
$table->string('token', 255)->change();
$table->string('user_type', 255)->change();
});
}

public function down()
{
}
}

0 comments on commit 7a65d99

Please sign in to comment.