創建應用
php think build admin
創建應用裏面的model
php think make:model admin@test/t1
載入migration包,用來管理表結構
composer require topthink/think-migration
創建表管理操作類
php think migrate:create Salesman
執行表操作類運行表結構
php think migrate:run -v
創建一個數據表播種機(自動生成此表的數據)
php think seed:create Salesman
執行播種
php think seed:run