Skip to content

Commit 735f473

Browse files
committed
docs(discord-bot): align env docs with actual database driver
Match README/.env.example to the Postgres-only DatabaseManager behavior. Made-with: Cursor
1 parent 6f5869b commit 735f473

2 files changed

Lines changed: 6 additions & 13 deletions

File tree

.env.example

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ LICENSECHAIN_APP_NAME=your-app-name-here
1111
LICENSECHAIN_APP_VERSION=1.0.0
1212

1313
# Database Configuration
14-
# SQLite database path (default: data/bot.db)
15-
DATABASE_URL=data/bot.db
14+
# PostgreSQL connection string (e.g. Supabase). SQLite is not supported.
15+
DATABASE_URL=postgresql://username:password@localhost:5432/licensechain
1616

1717
# Server Configuration
1818
# Port for health check server (default: 3004)

README.md

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ docker-compose up -d
7373
- Default port is 3004 (not 3000)
7474

7575
**Docker Permission Issues:**
76-
If you encounter permission errors (`SQLITE_CANTOPEN` or `EACCES`), try one of these solutions:
76+
If you encounter permission errors (`EACCES`), try one of these solutions:
7777

7878
1. **Fix permissions on host (Linux/Mac):**
7979
```bash
@@ -235,8 +235,8 @@ LICENSECHAIN_APP_NAME=your-app-name-here
235235
LICENSECHAIN_APP_VERSION=1.0.0
236236
237237
# Database Configuration
238-
# SQLite database path (default: data/bot.db)
239-
DATABASE_URL=data/bot.db
238+
# PostgreSQL connection string (e.g. Supabase). SQLite is not supported.
239+
DATABASE_URL=postgresql://username:password@localhost:5432/licensechain
240240
241241
# Server Configuration
242242
# Port for health check server (default: 3004)
@@ -437,17 +437,10 @@ module.exports = {
437437

438438
### Database Configuration
439439

440-
The bot supports multiple database types:
440+
The bot uses PostgreSQL (Supabase) only:
441441

442442
```javascript
443-
// PostgreSQL
444443
DATABASE_URL=postgresql://username:password@localhost:5432/licensechain
445-
446-
// MySQL
447-
DATABASE_URL=mysql://username:password@localhost:3306/licensechain
448-
449-
// SQLite
450-
DATABASE_URL=sqlite://./database.sqlite
451444
```
452445

453446
## Security Features

0 commit comments

Comments
 (0)