Laravel version that I am using is 5.3. And I am already using the trait SoftDeletes and it was imported correctly too.```namespace App\Models; use Illuminate\Database\Eloquent\SoftDeletes;clas...
Laravel 5 IDE Helper GeneratorFor Laravel 4.x, check Complete phpDocs, directly from the source_Check out for a quick introduction/explanation!_ This package generates a file ...
1)创建表(make:migration create),例如创建 articlesphp artisan make:migration create\_articles\_table运行命令后,会在 /database/migrations/ 生成对应的数据库迁移文件,通过修改文件里的 up 方法 和 down 文件,来创建数据表和删除数据表public function up(...
最新评论