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.
26 lines
585 B
26 lines
585 B
5 years ago
|
<?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');
|
||
|
}
|
||
|
}
|