[PR #2655] [MERGED] Improved database model migration and added indexing #5231

Closed
opened 2026-10-31 20:45:36 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/MHSanaei/3x-ui/pull/2655
Author: @izzzzzi
Created: 2/2/2025
Status: ✅ Merged
Merged: 2/3/2025
Merged by: @MHSanaei

Base: main ← Head: main


📝 Commits (8)

📊 Changes

5 files changed (+25 additions, -10 deletions)

View changed files

📝 database/db.go (+19 -4)
📝 database/model/model.go (+2 -2)
📝 install.sh (+1 -1)
📝 x-ui.sh (+1 -1)
📝 xray/client_traffic.go (+2 -2)

📄 Description

  • database: Improved database model migration and added indexing
  • Refined database model relationships and constraints

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/MHSanaei/3x-ui/pull/2655 **Author:** [@izzzzzi](https://github.com/izzzzzi) **Created:** 2/2/2025 **Status:** ✅ Merged **Merged:** 2/3/2025 **Merged by:** [@MHSanaei](https://github.com/MHSanaei) **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (8) - [`4dce28d`](https://github.com/MHSanaei/3x-ui/commit/4dce28dfb1e643cf4eb5ce1707c075b71ac00f02) Enhance database initialization in db.go - [`8931204`](https://github.com/MHSanaei/3x-ui/commit/89312045a6888feb99a7230478767a39edb5f83c) Add checkpoint handling in CloseDB function - [`46ed1b3`](https://github.com/MHSanaei/3x-ui/commit/46ed1b3a1661791a51aae85818c4c7a2f87ba3ed) Merge branch 'MHSanaei:main' into main - [`3cc8ccc`](https://github.com/MHSanaei/3x-ui/commit/3cc8ccc02b0aa6f25fcdaf4471284d3610bf9f02) Merge branch 'MHSanaei:main' into main - [`5b6cfca`](https://github.com/MHSanaei/3x-ui/commit/5b6cfca7d0c5a75dcfe903697b93096b31034f25) Update installation scripts to use new repository URL - [`e8ed194`](https://github.com/MHSanaei/3x-ui/commit/e8ed1949a7eaaecd48f3efacb33ee7535611d3d4) Merge branch 'main' of https://github.com/izzzzzi/3x-ui - [`055242b`](https://github.com/MHSanaei/3x-ui/commit/055242b493b50b687a2b1fcabe37dbe24efdc861) Merge branch 'MHSanaei:main' into main - [`a47ce77`](https://github.com/MHSanaei/3x-ui/commit/a47ce771bd59a54b1bb22c762dd4c1af4a2919f8) Update repository references from izzzzzi to MHSanaei ### 📊 Changes **5 files changed** (+25 additions, -10 deletions) <details> <summary>View changed files</summary> 📝 `database/db.go` (+19 -4) 📝 `database/model/model.go` (+2 -2) 📝 `install.sh` (+1 -1) 📝 `x-ui.sh` (+1 -1) 📝 `xray/client_traffic.go` (+2 -2) </details> ### 📄 Description - database: Improved database model migration and added indexing - Refined database model relationships and constraints --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-31 20:45:36 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
MHSanaei/3x-ui#5231
No description provided.