Refactoring

This commit is contained in:
Jonatan Rek committed 2026-10-31 19:16:51 +01:00
1 parent 085ab7e9b8
commit 411f7be896
29 files changed
+219 -50

No files matched your search

+8
View File
@@ -0,0 +1,8 @@
#!/bin/sh
# SQLite database initialization
if { grep -iq "^DB_CONNECTION=sqlite" .env && [ "$DB_CONNECTION" = "sqlite" ]; } || [ "$DEPLOY_ENV" = "sqlite" ]; then
if [ ! -f database/database.sqlite ]; then
echo "Creating empty SQLite database"
touch database/database.sqlite
fi
fi