[PR #172] [MERGED] hotfix: add DATABASE_URL to .env.example #229

Closed
opened 2025-11-20 04:13:38 -05:00 by saavagebueno · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/community-scripts/ProxmoxVE-Local/pull/172
Author: @michelroegl-brunner
Created: 10/17/2025
Status: Merged
Merged: 10/17/2025
Merged by: @michelroegl-brunner

Base: mainHead: hotfix/env_example


📝 Commits (1)

  • 05e88e9 docs: add DATABASE_URL to .env.example

📊 Changes

1 file changed (+2 additions, -1 deletions)

View changed files

📝 .env.example (+2 -1)

📄 Description

Summary

This hotfix adds the missing DATABASE_URL to the .env.example file to ensure new installations have the required Prisma database configuration.

Changes

  • Added DATABASE_URL="file:./data/database.sqlite" to .env.example
  • Ensures new users have the required Prisma database URL configured by default

Technical Details

  • DATABASE_URL is required for Prisma client generation
  • This complements the update.sh fix that handles existing installations
  • New installations will now have the proper database configuration from the start

Testing

  • .env.example now includes DATABASE_URL
  • New installations will work out of the box with Prisma

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/community-scripts/ProxmoxVE-Local/pull/172 **Author:** [@michelroegl-brunner](https://github.com/michelroegl-brunner) **Created:** 10/17/2025 **Status:** ✅ Merged **Merged:** 10/17/2025 **Merged by:** [@michelroegl-brunner](https://github.com/michelroegl-brunner) **Base:** `main` ← **Head:** `hotfix/env_example` --- ### 📝 Commits (1) - [`05e88e9`](https://github.com/community-scripts/ProxmoxVE-Local/commit/05e88e9d8db66608700f5f734b7c6428abcbe6e4) docs: add DATABASE_URL to .env.example ### 📊 Changes **1 file changed** (+2 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `.env.example` (+2 -1) </details> ### 📄 Description ## Summary This hotfix adds the missing DATABASE_URL to the .env.example file to ensure new installations have the required Prisma database configuration. ## Changes - Added DATABASE_URL="file:./data/database.sqlite" to .env.example - Ensures new users have the required Prisma database URL configured by default ## Technical Details - DATABASE_URL is required for Prisma client generation - This complements the update.sh fix that handles existing installations - New installations will now have the proper database configuration from the start ## Testing - .env.example now includes DATABASE_URL - New installations will work out of the box with Prisma --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
saavagebueno added the pull-request label 2025-11-20 04:13:38 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/ProxmoxVE-Local#229