This commit is contained in:
Jonatan Rek committed 2026-10-31 19:29:48 +01:00
1 parent 3883abbc85
commit 056f95384c
30 files changed

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