imporve first message

This commit is contained in:
2024-06-03 11:09:51 +07:00
parent 6f711b592e
commit 1eb6eb9cf3
2 changed files with 45 additions and 2 deletions

View File

@@ -0,0 +1,32 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('notification_tokens', function (Blueprint $table) {
$table->string('device_id')->nullable();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::table('notification_tokens', function (Blueprint $table) {
$table->dropColumn('device_id');
});
}
};