mirror of
https://github.com/alireza0/x-ui.git
synced 2026-03-14 05:23:09 +00:00
small changes
This commit is contained in:
@@ -1329,8 +1329,6 @@ func (s *InboundService) MigrationRequirements() {
|
||||
}
|
||||
}()
|
||||
|
||||
db.Migrator().DropIndex(&model.Inbound{}, "port")
|
||||
|
||||
// Fix inbounds based problems
|
||||
var inbounds []*model.Inbound
|
||||
err = tx.Model(model.Inbound{}).Where("protocol IN (?)", []string{"vmess", "vless", "trojan"}).Find(&inbounds).Error
|
||||
|
||||
Reference in New Issue
Block a user