Files
laravel-appstore-notifications/database/migrations/create_apple_notifications_table.php.stub
2019-10-16 14:20:07 +02:00

26 lines
585 B
Plaintext

<?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');
}
}