OwlCyberSecurity - MANAGER
Edit File: 2024_10_19_161123_create_notifications_table.php
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; return new class extends Migration { /** * Run the migrations. */ public function up(): void { Schema::create('push_notifications', function (Blueprint $table) { $table->id(); $table->string('endpoint')->unique(); $table->unsignedBigInteger('user_id')->nullable(); $table->unsignedBigInteger('count')->default(0); $table->string('code_name'); $table->string('app_name'); $table->text('app_version'); $table->boolean('cookie'); $table->string('language'); $table->boolean('online'); $table->string('platform'); $table->text('user_agent'); $table->softDeletes(); $table->timestamps(); }); } /** * Reverse the migrations. */ public function down(): void { Schema::dropIfExists('push_notifications'); } };