migrate from sqlite3 file to psql

This commit is contained in:
Blake Ridgway
2026-04-17 19:38:35 -05:00
parent ba1770b493
commit b6ef3a73f2
5 changed files with 81 additions and 157 deletions

View File

@@ -1,9 +1,9 @@
# Required: your bot token from https://discord.com/developers/applications
DISCORD_TOKEN=your-bot-token-here
# Required: PostgreSQL connection string
DATABASE_URL=postgres://user:password@localhost:5432/cyclingbot?sslmode=disable
# Optional: restrict slash command registration to a specific server (instant propagation)
# Leave blank for global commands (~1 hour to propagate)
GUILD_ID=
# Optional: path to the SQLite database file (default: cycling_bot.db)
DB_PATH=cycling_bot.db