Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -397,8 +397,8 @@ backend_setup() {
HOST=127.0.0.1
PORT=8000

# Database
DATABASE_URL=sqlite:///${REMOTE_BACKEND}/data/slm.db
# Database (PostgreSQL — Issue #786)
SLM_DATABASE_URL=postgresql+asyncpg://slm_app@127.0.0.1:5432/slm

# Redis (optional but recommended)
REDIS_HOST=${AUTOBOT_REDIS_HOST:-172.16.168.23}
Expand Down
7 changes: 2 additions & 5 deletions autobot-slm-backend/README_NEW_ENDPOINTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,8 @@ pip install -r requirements.txt
python migrations/add_events_certificates_updates_tables.py
```

Or specify custom database path:

```bash
python migrations/add_events_certificates_updates_tables.py /path/to/slm.db
```
Note: The SLM backend uses PostgreSQL (Issue #786). SQLite-based
migrations in this directory are legacy and no longer apply.

### 3. Verify Installation

Expand Down
4 changes: 2 additions & 2 deletions autobot-slm-backend/migrations/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Copyright (c) 2025 mrveiss
# Author: mrveiss
"""
SLM Database Migrations
SLM Database Migrations.

Simple migration system for SQLite database updates.
PostgreSQL is used for all database operations (Issue #786).
"""
Loading