{"blog_url":"https://kojirooooocks.hatenablog.com/","description":"\u306f\u3058\u3081\u306b \u3053\u3093\u3070\u3093\u306f\u3002 laravel-permission\u3092\u4f7f\u7528\u3059\u308b\u969b\u306b\u5c02\u7528\u306e\u30de\u30a4\u30b0\u30ec\u30fc\u30b7\u30e7\u30f3\u3092\u5b9f\u884c\u3059\u308b\u3068\u601d\u3044\u307e\u3059\u304c\u3001\u305d\u306e\u5404\u30c6\u30fc\u30d6\u30eb\u306eprimary key\u3092\u901a\u5e38\u306ebig integer\u304b\u3089uuid\u306b\u5909\u66f4\u3059\u308b\u5bfe\u5fdc\u3092\u3057\u305f\u306e\u3067\u5099\u5fd8\u9332\u3067\u3059\u3002 \u672c\u984c \u5bfe\u5fdc\u306f\u4ee5\u4e0b\u3092\u898b\u308c\u3070\u5927\u4e08\u592b\u3002 spatie.be \u57fa\u672c\u7684\u306b $this->bigIncrements \u3068\u306a\u3063\u3066\u3044\u308b\u90e8\u5206\u3092 $this->uuid \u3068\u306a\u308b\u611f\u3058\u3067\u3059\u3002 Model\u5074\u306f \u4ed6\u306eModel\u540c\u69d8\u306b HasUuids\u3092use\u3059\u308b\u3060\u3051\u3067\u3059\u3002 Role.php <?php namespace App\\Models; use Illuminate\\Databa\u2026","version":"1.0","image_url":null,"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkojirooooocks.hatenablog.com%2Fentry%2F2023%2F11%2F26%2F033000\" title=\"laravel-permission\u3067\u95a2\u9023\u30c6\u30fc\u30d6\u30eb\u306eprimary key\u3092uuid\u306b\u3057\u305f\u3044 - \u3082\u304c\u304d\u7cfb\u30d7\u30ed\u30b0\u30e9\u30de\u306e\u65e5\u5e38\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_title":"\u3082\u304c\u304d\u7cfb\u30d7\u30ed\u30b0\u30e9\u30de\u306e\u65e5\u5e38","provider_url":"https://hatena.blog","width":"100%","type":"rich","height":"190","provider_name":"Hatena Blog","author_name":"kojirooooocks","url":"https://kojirooooocks.hatenablog.com/entry/2023/11/26/033000","author_url":"https://blog.hatena.ne.jp/kojirooooocks/","published":"2023-11-26 03:30:00","categories":[],"title":"laravel-permission\u3067\u95a2\u9023\u30c6\u30fc\u30d6\u30eb\u306eprimary key\u3092uuid\u306b\u3057\u305f\u3044"}