fix: ui + migrations

This commit is contained in:
Andras Bacsai
2024-12-11 10:14:12 +01:00
parent 368c88829a
commit 1257ab6ff4
10 changed files with 532 additions and 413 deletions

View File

@@ -32,18 +32,18 @@ function sync:bunny {
}
function db:reset {
bash spin exec -u webuser coolify php artisan migrate:fresh --seed
bash spin exec -u www-data coolify php artisan migrate:fresh --seed
}
function db:reset-prod {
bash spin exec -u webuser coolify php artisan migrate:fresh --force --seed --seeder=ProductionSeeder ||
bash spin exec -u www-data coolify php artisan migrate:fresh --force --seed --seeder=ProductionSeeder ||
php artisan migrate:fresh --force --seed --seeder=ProductionSeeder
}
function coolify {
bash spin exec -u webuser coolify bash
bash spin exec -u www-data coolify sh
}
function coolify:root {
bash spin exec coolify bash
bash spin exec coolify sh
}
function coolify:proxy {
docker exec -ti coolify-proxy sh
@@ -58,7 +58,7 @@ function vite {
}
function tinker {
bash spin exec -u webuser coolify php artisan tinker
bash spin exec -u www-data coolify php artisan tinker
}
function default {
@@ -66,4 +66,4 @@ function default {
}
TIMEFORMAT="Task completed in %3lR"
time "${@:-default}"
time "${@:-default}"