Skip to content

Commit b2b524d

Browse files
authored
Increase endpoint column length, 255 isn't enough
1 parent 89b9f2f commit b2b524d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

migrations/create_push_subscriptions_table.php.stub

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class CreatePushSubscriptionsTable extends Migration
1616
Schema::create('push_subscriptions', function (Blueprint $table) {
1717
$table->increments('id');
1818
$table->integer('user_id')->unsigned()->index();
19-
$table->string('endpoint')->unique();
19+
$table->string('endpoint', 500)->unique();
2020
$table->string('public_key')->nullable();
2121
$table->string('auth_token')->nullable();
2222
$table->timestamps();

0 commit comments

Comments
 (0)