From 75d11f9860fe06c4b104872e98b8f966a63ebb1f Mon Sep 17 00:00:00 2001 From: philipp lang Date: Mon, 9 Dec 2024 23:58:35 +0100 Subject: [PATCH] Update formsettings when copying db --- bin/copydb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bin/copydb b/bin/copydb index 793a18db..bf8aacb5 100755 --- a/bin/copydb +++ b/bin/copydb @@ -6,3 +6,5 @@ echo "create database scoutrobot;" | sudo mysql ssh -l stammsilva zoomyboy.de "cd /usr/share/webapps/nami_silva && docker compose exec db mysqldump -udb -p$SCOUTROBOT_DB_PASSWORD db" > db.tmp sudo mysql scoutrobot < db.tmp rm db.tmp + +echo 'app(\App\Form\FormSettings::class)->fill(["registerUrl" => "http://stammsilva.test/anmeldung/{slug}/register", "clearCacheUrl" => "http://stammsilva.test/adrema/clear-cache"])->save();' | php artisan tinker