Skip to content

Switch to MySQL backend#2

Open
davidmh0203 wants to merge 1 commit intomainfrom
4ltzlm-codex/migrate-sqlite3-to-mysql
Open

Switch to MySQL backend#2
davidmh0203 wants to merge 1 commit intomainfrom
4ltzlm-codex/migrate-sqlite3-to-mysql

Conversation

@davidmh0203
Copy link
Owner

Summary

  • add db.py with MySQL connection settings taken from environment variables
  • create the MySQL users table when the user package loads
  • replace SQLite usage with PyMySQL connections
  • update SQL placeholders for MySQL
  • list packages in new requirements.txt
  • switch to pooled connections

Testing

  • python -m py_compile $(git ls-files '*.py')

https://chatgpt.com/codex/tasks/task_e_6841a898699c83308f6bd746d0b2363c

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant