{"id":343,"date":"2017-11-28T09:16:09","date_gmt":"2017-11-28T00:16:09","guid":{"rendered":"https:\/\/t-office.blue\/?p=343"},"modified":"2017-11-28T16:43:14","modified_gmt":"2017-11-28T07:43:14","slug":"%e3%82%a4%e3%83%99%e3%83%b3%e3%83%88%e4%b8%80%e8%a6%a7%e3%81%8c%e8%a1%a8%e7%a4%ba%e3%81%95%e3%82%8c%e3%82%8b%e3%82%88%e3%81%86%e3%81%aaweb%e3%82%92laravel%e3%81%a7%e4%bd%9c%e6%88%90-part1","status":"publish","type":"post","link":"https:\/\/wp.t-office.blue\/?p=343","title":{"rendered":"\u30a4\u30d9\u30f3\u30c8\u4e00\u89a7\u304c\u8868\u793a\u3055\u308c\u308b\u3088\u3046\u306aWeb\u3092laravel\u3067\u4f5c\u6210 [Part1]"},"content":{"rendered":"<h1>\u30a4\u30d9\u30f3\u30c8\u4e00\u89a7\u304c\u8868\u793a\u3055\u308c\u308b\u3088\u3046\u306aWeb\u3092laravel\u3067\u4f5c\u6210\u3002(Part1)<\/h1>\n<p>\u3000\u4ed5\u4e8b\u306e\u52c9\u5f37\u306e\u305f\u3081\u306b\u5275\u696d\u30bb\u30df\u30ca\u30fc\u306b\u53c2\u52a0\u3057\u3066\u3044\u307e\u3059\u3002\u305d\u3053\u3067\u3001\u8272\u3005\u8d77\u696d\u3055\u308c\u308b\u65b9\u3068\u8a71\u3059\u4e2d\u3067\u3001\u79c1\u9054\u304c\u4f4f\u3080\u5730\u57df\u306e\u8cc7\u6e90\u3092\u3046\u307e\u304f\u6d3b\u304b\u305b\u306a\u3044\u7406\u7531\u304c\uff12\u3064\u3042\u308b\u3068\u601d\u3044\u307e\u3057\u305f\u3002<br \/>\n\u3000\uff11\u4ea4\u901a\u304c\u4e0d\u4fbf\uff08\u81ea\u5bb6\u7528\u8eca\u304c\u306a\u3044\u9650\u308a\u81ea\u7531\u306b\u884c\u304d\u305f\u3044\u3068\u3053\u308d\u306b\u884c\u3051\u306a\u3044\uff09<br \/>\n\u3000\uff12\u30a4\u30d9\u30f3\u30c8\u304c\u307e\u3068\u307e\u3063\u3066\u306a\u3044\u306e\u3067\u3001\u3044\u3064\u3069\u3053\u3067\u6709\u308b\u306e\u304b\u304c\u3088\u304f\u308f\u304b\u306a\u3044<\/p>\n<p>\u3053\u3093\u306a\u3068\u3053\u308d\u3092\u30af\u30ea\u30a2\u3067\u304d\u308c\u3070\u5c11\u3057\u3001\u5730\u57df\u306e\u77e5\u540d\u5ea6\u304c\u4e0a\u304c\u308b\u3093\u3067\u306a\u3044\u304b\u306a\u3068\u601d\u3044\u307e\u3057\u305f\u3002\u305d\u3053\u3067\u3001\uff12\u306e\u300c\u30a4\u30d9\u30f3\u30c8\u304c\u4e00\u89a7\u3067\u304d\u308b\u300d\u30b5\u30a4\u30c8\u3092\u4f5c\u3063\u3066\u307f\u3088\u3046\u304b\u3068\u601d\u3044 Ruby on Rails\u3067\u306f\u306a\u304f\u3001PHP\u3067\u4f5c\u308d\u3046\u3068\u601d\u3044\u307e\u3057\u305f\u3002<\/p>\n<h2>PHP\u3067\u4eba\u6c17\u306e\u3042\u308b\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u306fLaravel<\/h2>\n<p>\u3000\u304b\u3064\u3066\u306fCakePHP\u3092\u52c9\u5f37\u3057\u3066\u3044\u307e\u3057\u305f\u304c\u3001\u4eca\u306e\u30c8\u30ec\u30f3\u30c9\u306f\u306a\u3093\u3060\u308d\u3046\u3068\u601d\u3063\u3066\u8abf\u3079\u3066\u307f\u308b\u3068\u4e88\u60f3\u306b\u53cd\u3057\u3066<a href=\"http:\/\/laravel.jp\/\">Larave<\/a>\u3068\u3044\u3046\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3067\u3057\u305f\u3002\u8abf\u3079\u308b\u524d\u306fsymfony\u304bzendframework\u304b\u3068\u601d\u3063\u3066\u307e\u3057\u305f\u304c\u3001\u4e88\u60f3\u304c\u5916\u308c\u307e\u3057\u305f\u3002<\/p>\n<h2>Laravel\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u8a66\u3057\u3066\u307f\u308b\u3079\u3057<\/h2>\n<p><a href=\"https:\/\/beiznotes.org\/making-task-list-with-laravel55-1\/\">beiz\u306e\u30ce\u30fc\u30c8<\/a>\u3088\u308a\u7df4\u7fd2\u3092\u3057\u3066\u307f\u308b\u3053\u3068\u306b\u3002\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u307fmysql -> sqlite\u306b\u3002\uff08\u30b5\u30fc\u30d0\u306b\u30a2\u30c3\u30d7\u3059\u308b\u3068\u304d\u306b\u306f,mysql\u306b\u3059\u308b\u4e88\u5b9a\uff09<\/p>\n<p>[code lang=text]<br \/>\n$ php artisan migrate<br \/>\nMigration table created successfully.<br \/>\nMigrating: 2014_10_12_000000_create_users_table<br \/>\nMigrated:  2014_10_12_000000_create_users_table<br \/>\nMigrating: 2014_10_12_100000_create_password_resets_table<br \/>\nMigrated:  2014_10_12_100000_create_password_resets_table<\/p>\n<p>$ php artisan make:migration create_tasks_table &#8211;create=tasks<br \/>\nCreated Migration: 2017_11_27_033501_create_tasks_table<br \/>\n[\/code]<\/p>\n<p>\u3044\u304d\u306a\u308amigration\u3067\u5931\u6557\u3057\u305f\u306e\u3067\u30ed\u30fc\u30eb\u30d0\u30c3\u30af\u65b9\u6cd5\u3092\u8abf\u3079\u305f\u3089migrate\u306e\u30b3\u30de\u30f3\u30c9\u4e00\u89a7\u3092\u898b\u3064\u3051\u305f\u306e\u3067\u3001\u30b3\u30de\u30f3\u30c9\u540d\u3060\u3051\u8f09\u305b\u3066\u304a\u304d\u307e\u3059\u3002\u53c2\u8003\u30da\u30fc\u30b8\u3092\u898b\u3066\u307f\u3066\u4e0b\u3055\u3044\u3002<\/p>\n<p>[code lang=text]<br \/>\nmigrate              Run the database migrations<br \/>\nmigrate:install      Create the migration repository<br \/>\nmigrate:refresh      Reset and re-run all migrations<br \/>\nmigrate:reset        Rollback all database migrations<br \/>\nmigrate:rollback     Rollback the last database migration<br \/>\nmigrate:status       Show the status of each migration<br \/>\n[\/code]<\/p>\n<p>\u53c2\u8003\uff1a<a href=\"https:\/\/qiita.com\/qiita-kurara\/items\/9a34f97a184a1d8c1c35\">Qiita-Laravel\u306eMigration\u306b\u3064\u3044\u3066\u8abf\u3079\u305f\u7d50\u679c<\/a><\/p>\n<p>\u3053\u306e\u30da\u30fc\u30b8\u81ea\u4f53\u306e\u53c2\u8003: <a href=\"https:\/\/laravel10.wordpress.com\/\">\u30e9\u30e9\u5e33<\/a><br \/>\n\u30e9\u30e9\u5e33\u3055\u3093\u3092\u53c2\u8003\u306b\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3092\u52c9\u5f37<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u30a4\u30d9\u30f3\u30c8\u4e00\u89a7\u304c\u8868\u793a\u3055\u308c\u308b\u3088\u3046\u306aWeb\u3092laravel\u3067\u4f5c\u6210\u3002(Part1) \u3000\u4ed5\u4e8b\u306e\u52c9\u5f37\u306e\u305f\u3081\u306b\u5275\u696d\u30bb\u30df\u30ca\u30fc\u306b\u53c2\u52a0\u3057\u3066\u3044\u307e\u3059\u3002\u305d\u3053\u3067\u3001\u8272\u3005\u8d77\u696d\u3055\u308c\u308b\u65b9\u3068\u8a71\u3059\u4e2d\u3067\u3001\u79c1\u9054\u304c\u4f4f\u3080\u5730\u57df\u306e\u8cc7\u6e90\u3092\u3046\u307e\u304f\u6d3b\u304b\u305b\u306a\u3044\u7406\u7531\u304c\uff12\u3064\u3042\u308b\u3068\u601d\u3044 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[40,5],"tags":[],"class_list":["post-343","post","type-post","status-publish","format-standard","hentry","category-laravel","category-5"],"_links":{"self":[{"href":"https:\/\/wp.t-office.blue\/index.php?rest_route=\/wp\/v2\/posts\/343","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wp.t-office.blue\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wp.t-office.blue\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wp.t-office.blue\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wp.t-office.blue\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=343"}],"version-history":[{"count":2,"href":"https:\/\/wp.t-office.blue\/index.php?rest_route=\/wp\/v2\/posts\/343\/revisions"}],"predecessor-version":[{"id":345,"href":"https:\/\/wp.t-office.blue\/index.php?rest_route=\/wp\/v2\/posts\/343\/revisions\/345"}],"wp:attachment":[{"href":"https:\/\/wp.t-office.blue\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=343"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wp.t-office.blue\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=343"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wp.t-office.blue\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=343"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}