mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-16 14:39:31 -05:00
[PR #3905] [CLOSED] feat: add mysql migration support #60212
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/3905
Author: @tengattack
Created: 7/16/2024
Status: ❌ Closed
Base:
dev← Head:feature/mysql-migration📝 Commits (1)
7f5863fAdd mysql migration support📊 Changes
4 files changed (+33 additions, -7 deletions)
View changed files
📝
backend/apps/webui/internal/db.py(+7 -3)📝
backend/apps/webui/internal/migrations/007_add_user_last_active_at.py(+1 -1)📝
backend/apps/webui/internal/migrations/017_add_user_oauth_sub.py(+1 -1)📝
backend/apps/webui/internal/wrappers.py(+24 -2)📄 Description
Pull Request Checklist
Note to first-time contributors: Please open a discussion post in Discussions and describe your changes before submitting a pull request.
Before submitting, make sure you've checked the following:
devbranch.Dependencies: Are there any new dependencies? Have you updated the dependency versions in the documentation?Changelog Entry
Description
Previously, we has no way to use mysql but manually migrate the data store.
So, I have made a change to it, now we can start with mysql from scratch.
https://github.com/open-webui/open-webui/discussions/3903 https://github.com/open-webui/open-webui/discussions/2529
Added
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.