Add notification filters

This commit is contained in:
2026-04-24 20:02:22 +00:00
parent 5f74ddd964
commit c54df44ebe
24 changed files with 1288 additions and 7 deletions
@@ -0,0 +1,28 @@
<?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::table('notification_actions', function (Blueprint $table): void {
$table->json('filters')->nullable();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::table('notification_actions', function (Blueprint $table): void {
$table->dropColumn('filters');
});
}
};