- Tạo model cho table categories
Gõ command line: php artisan make:model Category
Kết quả:
2. Tạo model cho table posts
Gõ command line: php artisan make:model Post
Kết quả:
Vậy là chúng ta đã tạo xong model cho 2 table categories và posts rồi đấy <3.
2 trả lời trong “VIII. Tạo model cho 2 table categories và posts”
Great read! Your breakdown of the topic is commendable. For further reading, here’s a useful resource: READ MORE. Let’s discuss!
I was studying some of your articles on this website and I conceive this internet
site is really informative! Continue posting.Blog money