mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-16 06:03:26 -05:00
[PR #1830] [MERGED] feat: add tests for db migration on sqlite and postgres #75681
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/1830
Author: @cheahjs
Created: 4/28/2024
Status: ✅ Merged
Merged: 4/28/2024
Merged by: @tjbck
Base:
dev← Head:feat/db-migration-tests📝 Commits (3)
167b571feat: add tests for db migration on sqlite, postgres, and mysqleed6c71fix: disable mysql testsf561e94fix: refactor db migration tests📊 Changes
1 file changed (+131 additions, -0 deletions)
View changed files
📝
.github/workflows/integration-test.yml(+131 -0)📄 Description
Pull Request Checklist
Description
Adds a new test in CI that runs the backend with SQLite and Postgres, and verifies that they start correctly, which will be key to ensuring we don't break compatibility with external databases when making changes to DB schema.
Example run: https://github.com/open-webui/open-webui/actions/runs/8868769049/job/24348714090?pr=1830
There's a test for MySQL as well, but it was failing, so I've commented it out for now: https://github.com/cheahjs/open-webui-fork/actions/runs/8868578535/job/24348304494
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.