摘要: 1、创建model php artisan make:model Podcast 2、创建迁移文件 php artisan make:migration podcasts 在生成的迁移文件里创建两个字段 id & status ,database目录下新建表的 run 方法: public func 阅读全文
posted @ 2022-02-28 16:45 艾薇-Ivy 阅读(183) 评论(0) 推荐(0) 编辑