File tree Expand file tree Collapse file tree 2 files changed +37
-2
lines changed
Expand file tree Collapse file tree 2 files changed +37
-2
lines changed Original file line number Diff line number Diff line change 182182 */
183183
184184 'database_notifications ' => [
185- 'enabled ' => false ,
186- 'polling_interval ' => '30s ' ,
185+ 'enabled ' => true ,
186+ 'polling_interval ' => '10s ' ,
187187 ],
188188
189189 /*
Original file line number Diff line number Diff line change 1+ <?php
2+
3+ use Illuminate \Database \Migrations \Migration ;
4+ use Illuminate \Database \Schema \Blueprint ;
5+ use Illuminate \Support \Facades \Schema ;
6+
7+ return new class extends Migration
8+ {
9+ /**
10+ * Run the migrations.
11+ *
12+ * @return void
13+ */
14+ public function up ()
15+ {
16+ Schema::create ('notifications ' , function (Blueprint $ table ) {
17+ $ table ->uuid ('id ' )->primary ();
18+ $ table ->string ('type ' );
19+ $ table ->morphs ('notifiable ' );
20+ $ table ->text ('data ' );
21+ $ table ->timestamp ('read_at ' )->nullable ();
22+ $ table ->timestamps ();
23+ });
24+ }
25+
26+ /**
27+ * Reverse the migrations.
28+ *
29+ * @return void
30+ */
31+ public function down ()
32+ {
33+ Schema::dropIfExists ('notifications ' );
34+ }
35+ };
You can’t perform that action at this time.
0 commit comments