一,php artisan make:magration create_test_table 命令行
字段如何设置
二,php artisan migrate 命令行
如果出现错误
就添加两行代码
最后成功了