{"id":591,"date":"2015-12-27T19:16:16","date_gmt":"2015-12-27T10:16:16","guid":{"rendered":"http:\/\/labo.samuraistyle.org\/blog\/?p=591"},"modified":"2016-10-22T20:21:58","modified_gmt":"2016-10-22T11:21:58","slug":"fuelphp-simpleauth%e3%81%aemigration%e3%81%a7%e3%82%a8%e3%83%a9%e3%83%bc%e3%81%8c%e5%87%ba%e3%82%8b","status":"publish","type":"post","link":"https:\/\/labo.samuraistyle.org\/blog\/archives\/591","title":{"rendered":"fuelphp simpleauth\u306emigration\u3067\u30a8\u30e9\u30fc\u304c\u51fa\u308b"},"content":{"rendered":"<p>http:\/\/fuelphp.jp\/docs\/1.7\/packages\/auth\/simpleauth\/intro.html \u3092\u53c2\u8003\u306bconfig\u3092\u66f8\u3044\u3066<\/p>\n<pre><code>oil refine migrate --packages=auth<\/code><\/pre>\n<p>\u3067\u30c6\u30fc\u30d6\u30eb\u304c\u4f5c\u308c\u308b\u306f\u305a\u306a\u3093\u3060\u3051\u3069\u3001\u3067\u304d\u306a\u3044\u306e\u3067\u30bd\u30fc\u30b9\u3092\u898b\u3066\u307f\u305f\u3089\u3001simpleauth\u306eusers\u30c6\u30fc\u30d6\u30eb\u306fgorup\u3063\u3066\u5217\u304c\u5fc5\u8981\u306a\u3053\u3068\u304c\u5224\u660e\u3002<\/p>\n<p><!--more--><\/p>\n<p>\u306a\u3093\u3067\u30a8\u30b9\u30b1\u30fc\u30d7\u3057\u3066\u304f\u308c\u306a\u3044\u306e\uff1f\u3068\u601d\u3044\u30bd\u30fc\u30b9\u3092\u898b\u305f\u3068\u3053\u308d\u3001config\/db.php \u306e\u8a2d\u5b9a\u304c\u60aa\u304b\u3063\u305f\u3088\u3046\u3067&#8230;<\/p>\n<p>db\u306e\u63a5\u7d9a\u8a2d\u5b9a\u306f\u3042\u308b\u7a0b\u5ea6\u7701\u7565\u3057\u3066\u3082\u52d5\u304f\u3093\u3060\u3051\u3069<\/p>\n<pre><code>'default' =&gt; array(\n'type' =&gt; 'pdo',\n'connection' =&gt; array(\n'persistent' =&gt; false,\n'compress' =&gt; false,\n),\n'identifier' =&gt; '`',\n'table_prefix' =&gt; '',\n'charset' =&gt; 'utf8',\n'collation' =&gt; false,\n'enable_cache' =&gt; true,\n'profiling' =&gt; false,\n'readonly' =&gt; false,\n),<\/code><\/pre>\n<p>\u3068\u3044\u3046\u611f\u3058\u3067\u660e\u793a\u3057\u3066\u304a\u3044\u305f\u307b\u3046\u304c\u826f\u3055\u305d\u3046\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>http:\/\/fuelphp.jp\/docs\/1.7\/packages\/auth\/simpleauth\/intro.html \u3092\u53c2\u8003\u306bconfig\u3092\u66f8\u3044\u3066 oil refine migrate &#8211;packages=au &hellip; <a href=\"https:\/\/labo.samuraistyle.org\/blog\/archives\/591\" class=\"more-link\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"screen-reader-text\">fuelphp simpleauth\u306emigration\u3067\u30a8\u30e9\u30fc\u304c\u51fa\u308b<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[3],"tags":[49,6],"class_list":["post-591","post","type-post","status-publish","format-standard","hentry","category-tech","tag-fuelphp","tag-php"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/labo.samuraistyle.org\/blog\/wp-json\/wp\/v2\/posts\/591","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/labo.samuraistyle.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/labo.samuraistyle.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/labo.samuraistyle.org\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/labo.samuraistyle.org\/blog\/wp-json\/wp\/v2\/comments?post=591"}],"version-history":[{"count":28,"href":"https:\/\/labo.samuraistyle.org\/blog\/wp-json\/wp\/v2\/posts\/591\/revisions"}],"predecessor-version":[{"id":978,"href":"https:\/\/labo.samuraistyle.org\/blog\/wp-json\/wp\/v2\/posts\/591\/revisions\/978"}],"wp:attachment":[{"href":"https:\/\/labo.samuraistyle.org\/blog\/wp-json\/wp\/v2\/media?parent=591"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/labo.samuraistyle.org\/blog\/wp-json\/wp\/v2\/categories?post=591"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/labo.samuraistyle.org\/blog\/wp-json\/wp\/v2\/tags?post=591"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}