我想使用Laravel Forge爲我的數據庫播種提供一些幫助。 我已經爲我的應用程序進行了部署,並取得了成功。正如我的最新部署日誌顯示的那樣創建表:Laravel Forge播種
從github.com:nahin14/cin-app *分支主機 - > FETCH_HEAD 已經是最新的。 加載作曲家儲存庫包信息 從鎖文件安裝依賴 沒有安裝或更新 生成自動加載的文件 生成優化的類加載器 編譯普通類 遷移:2014_10_11_000000_create_roles_table 遷移:2014_10_12_000000_create_users_table 遷移:2014_10_12_100000_create_password_resets_table 遷移:2015_04_16_205049_create_statuses_table 遷移:2015_04_16_205103_create_claim_types_table Migrated:2015_04_16_205118_create_insurance_types_table Migrated:2015_04_16_205127_create_insurers_table 遷移:2015_04_16_205215_create_solicitors_table 遷移:2015_04_16_205224_create_client_types_table 遷移:2015_04_16_205229_create_clients_table 遷移:2015_04_16_205243_create_vehicle_types_table 遷移:2015_04_16_205251_create_vehicles_table 遷移:2015_04_16_205312_create_claims_table 遷移:2015_04_16_205318_create_tasks_table
但是我想知道我可以播種表。我有一個databaseseeder.php文件設置了所有的播種信息。 那麼,我將如何去從seedseeder.php文件的種子信息播種表。
謝謝。
謝謝,但我嘗試輸入僞造的應用程序的部署腳本命令,但它沒有奏效。 –
所以,這就是在鍛造我的部署腳本貌似現在: CD /家庭/僞造/默認 的git拉出身主 作曲家安裝--no交互--no-dev的--prefer - 距離 PHP工匠遷移 - 力 php工匠分貝:種子 它根本沒有工作。 –
任何錯誤訊息? – Borjante