production seeder script

This commit is contained in:
Andras Bacsai 2023-05-09 14:45:47 +02:00
parent 6a10b8c127
commit 69e5e3f461

View File

@ -34,6 +34,9 @@ function schedule-run {
function reset-db {
bash vendor/bin/spin exec -u webuser coolify php artisan migrate:fresh --seed
}
function reset-db-production {
bash vendor/bin/spin exec -u webuser coolify php artisan migrate:fresh --force --seed --seeder=ProductionSeeder
}
function coolify {
bash vendor/bin/spin exec -u webuser coolify bash
}