This commit is contained in:
Andras Bacsai
2023-06-19 10:58:00 +02:00
parent 7bcbfc13b0
commit 448182497f
11 changed files with 59 additions and 17 deletions

View File

@@ -44,8 +44,12 @@ function db:reset {
bash vendor/bin/spin exec -u webuser coolify php artisan migrate:fresh --seed
}
function mfs {
db:reset
function db {
bash vendor/bin/spin exec -u webuser coolify php artisan db
}
function db:migrate {
bash vendor/bin/spin exec -u webuser coolify php artisan migrate
}
function db:reset-prod {
@@ -53,6 +57,10 @@ function db:reset-prod {
php artisan migrate:fresh --force --seed --seeder=ProductionSeeder
}
function mfs {
db:reset
}
function coolify {
bash vendor/bin/spin exec -u webuser coolify bash
}
@@ -76,9 +84,6 @@ function tinker {
bash vendor/bin/spin exec -u webuser coolify php artisan tinker
}
function db {
bash vendor/bin/spin exec -u webuser coolify php artisan db
}
function build:builder {
act -W .github/workflows/coolify-builder.yml --secret-file .env.secrets