Skip to content

Conversation

@GalvinPython
Copy link
Owner

No description provided.

@GalvinPython GalvinPython moved this from In progress to In review in Feedr Sep 11, 2025
@GalvinPython GalvinPython marked this pull request as ready for review September 11, 2025 11:11
Copilot AI review requested due to automatic review settings September 11, 2025 11:11
Copy link
Contributor

Copilot AI left a 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 /updates command 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.

GalvinPython and others added 2 commits September 11, 2025 12:13
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@GalvinPython GalvinPython merged commit 1217247 into dev Sep 11, 2025
2 checks passed
@github-project-automation github-project-automation bot moved this from In review to Done in Feedr Sep 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Twitch username does not show up in /track Allow subscribing to bot updates Migrate SQLite database to Postgres (the migration script itself)

2 participants