1
0
mirror of https://github.com/NginxProxyManager/nginx-proxy-manager.git synced 2025-07-29 19:01:13 +03:00

Added migrations for mysql and postgres, added ci testing suites for them

This commit is contained in:
Jamie Curnow
2023-05-30 13:26:46 +10:00
parent e0773b1c06
commit 3c1b4fdf34
13 changed files with 1266 additions and 41 deletions

View File

@ -69,8 +69,8 @@ func checkSetup() {
if db != nil {
db.Model(&user.Model{}).
Where("is_disabled = ?", false).
Where("is_system = ?", false).
Where("is_disabled = ?", 0).
Where("is_system = ?", 0).
Count(&count)
if count == 0 {