瀏覽代碼

Merge pull request #186 from andrewdwallo/development-3.x

Use postgres supported notifications data column
3.x
Andrew Wallo 1 年之前
父節點
當前提交
8890444537
沒有連結到貢獻者的電子郵件帳戶。
共有 1 個檔案被更改,包括 1 行新增 和 1 行删除
  1. 1
    1
      database/migrations/2025_06_15_182955_create_notifications_table.php

+ 1
- 1
database/migrations/2025_06_15_182955_create_notifications_table.php 查看文件

15
             $table->uuid('id')->primary();
15
             $table->uuid('id')->primary();
16
             $table->string('type');
16
             $table->string('type');
17
             $table->morphs('notifiable');
17
             $table->morphs('notifiable');
18
-            $table->text('data');
18
+            $table->json('data');
19
             $table->timestamp('read_at')->nullable();
19
             $table->timestamp('read_at')->nullable();
20
             $table->timestamps();
20
             $table->timestamps();
21
         });
21
         });

Loading…
取消
儲存