Handle Appstore server-to-server notifications in Laravel or Lumen projects for auto-renewable subscriptions
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
585 B

<?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateAppleNotificationsTable extends Migration
{
public function up()
{
Schema::create('apple_notifications', function (Blueprint $table) {
$table->bigIncrements('id');
$table->string('type');
$table->text('payload')->nullable();
$table->text('exception')->nullable();
$table->timestamps();
});
}
public function down()
{
Schema::dropIfExists('apple_notifications');
}
}