-
Notifications
You must be signed in to change notification settings - Fork 1
Final prep for V2 #174
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Final prep for V2 #174
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR prepares the codebase for V2 by adding database migration functionality, introducing staging environment support, and implementing a new /updates command for bot update notifications.
- Adds comprehensive database migration from SQLite to PostgreSQL
- Introduces staging environment configuration for safer production deployments
- Implements new
/updatescommand for managing bot update notifications in Discord channels
Reviewed Changes
Copilot reviewed 10 out of 10 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| src/db/schemaSqlite.ts | Defines SQLite schema for migration source data |
| src/db/resetStagingDatabase.ts | Provides staging database reset functionality |
| src/db/migratedb.ts | Implements complete database migration logic from SQLite to PostgreSQL |
| src/db/discord.ts | Adds functions for managing bot update subscription channels |
| src/config.ts | Adds staging mode support and environment configuration |
| src/commands.ts | Implements new /updates command and fixes streamer name display |
| package.json | Adds new scripts for staging database operations and migration |
| drizzle.config.ts | Extends database configuration to support staging environment |
| .env.example | Documents new staging database URL requirement |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
No description provided.