mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-07-05 17:42:49 +08:00
修复seeder错误;删除第三方的think迁移工具,在extend中重新实现;
This commit is contained in:
11
extend/think/migration/command/stubs/factory.stub
Normal file
11
extend/think/migration/command/stubs/factory.stub
Normal file
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
use Faker\Generator as Faker;
|
||||
use think\migration\Factory;
|
||||
|
||||
/** @var Factory $factory */
|
||||
$factory->define("ModelClass", function (Faker $faker) {
|
||||
return [
|
||||
//
|
||||
];
|
||||
});
|
||||
Reference in New Issue
Block a user