{"id":1029,"date":"2024-04-16T19:51:13","date_gmt":"2024-04-16T10:51:13","guid":{"rendered":"http:\/\/inwelly.com\/?p=1029"},"modified":"2024-04-16T19:51:13","modified_gmt":"2024-04-16T10:51:13","slug":"php-laravel-6-%ed%8a%b9%ec%a0%95-%ed%85%8c%ec%9d%b4%eb%b8%94%eb%a7%8c-%ec%83%9d%ec%84%b1-%eb%b0%8f-%eb%b3%80%ea%b2%bd%ec%8b%9c-path-%ec%a7%80%ec%a0%95%ed%95%98%ec%97%ac-%ec%8b%9c%ed%96%89","status":"publish","type":"post","link":"https:\/\/inwelly.com\/?p=1029","title":{"rendered":"PHP Laravel 6 &#8211; \ud2b9\uc815 \ud14c\uc774\ube14\ub9cc \uc0dd\uc131 \ubc0f \ubcc0\uacbd\uc2dc path \uc9c0\uc815\ud558\uc5ec \uc2dc\ud589"},"content":{"rendered":"\n<p>1. \ubaa8\ub378 \ub9cc\ub4e4\uba70 -m \uc635\uc158\uc744 \uc544\ub798\uc640 \uac19\uc774 \uc900\ub2e4.<\/p>\n\n\n\n<p>php artisan make:model TestTABLE -m<\/p>\n\n\n\n<p>2. DB \ud14c\uc774\ube14 \uc0dd\uc131 \ud30c\uc77c \ud3b8\uc9d1 \ud6c4 \uc544\ub798\uc640 \uac19\uc774 \ud3f4\ub354\ub97c \ub9cc\ub4e4\uc5b4 \ud3b8\uc9d1\ud55c \ud30c\uc77c\uc744 \uc774\ub3d9\uc2dc\ud0a8\ub2e4.<\/p>\n\n\n\n<p>\uae30\uc874 : \/database\/migration&nbsp; \ud3f4\ub354&nbsp; =&gt;&nbsp; &nbsp; \ubcc0\uacbd : \/database\/migration\/sample_dir\/&nbsp; &nbsp;<\/p>\n\n\n\n<p>\uc704 &#8220;sample_dir&#8221; \ub85c \ud3b8\uc9d1\ub41c \ud14c\uc774\ube14 \uc0dd\uc131 \ud30c\uc77c\uc744 \uc774\ub3d9 \uc2dc\ud0a8\ub2e4.<\/p>\n\n\n\n<p>3. \uc2e4\ud589 &amp; \uc0dd\uc131<\/p>\n\n\n\n<p>linux#&gt;&nbsp;php artisan migrate&nbsp; &#8211;path=\/database\/migrations\/sample_dir<\/p>\n\n\n\n<p>4. \ud14c\uc774\ube14 \uc0dd\uc131 \ud655\uc778&nbsp; &#8211; \ub05d &#8211;&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>1. \ubaa8\ub378 \ub9cc\ub4e4\uba70 -m \uc635\uc158\uc744 \uc544\ub798\uc640 \uac19\uc774 \uc900\ub2e4. php artisan make:model TestTABLE -m 2. DB \ud14c\uc774\ube14 \uc0dd\uc131 \ud30c\uc77c \ud3b8\uc9d1 \ud6c4 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[112],"tags":[],"class_list":["post-1029","post","type-post","status-publish","format-standard","hentry","category-laravel"],"_links":{"self":[{"href":"https:\/\/inwelly.com\/index.php?rest_route=\/wp\/v2\/posts\/1029","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/inwelly.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/inwelly.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/inwelly.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/inwelly.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1029"}],"version-history":[{"count":1,"href":"https:\/\/inwelly.com\/index.php?rest_route=\/wp\/v2\/posts\/1029\/revisions"}],"predecessor-version":[{"id":1030,"href":"https:\/\/inwelly.com\/index.php?rest_route=\/wp\/v2\/posts\/1029\/revisions\/1030"}],"wp:attachment":[{"href":"https:\/\/inwelly.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1029"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/inwelly.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1029"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/inwelly.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1029"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}