uuid('id')->primary(); $table->string('type'); $table->morphs('notifiable'); /* * `jsonb`, not the `text` Laravel's own stub uses: Filament's bell * queries this column by JSON path — `data->>'format'` — and * Postgres has no such operator for text. SQLite never noticed. */ $table->jsonb('data'); $table->timestamp('read_at')->nullable(); $table->timestamps(); }); } public function down(): void { Schema::dropIfExists('notifications'); } };