feat(db): felis db 与迁移前快照在 felis-postgres 容器内运行客户端工具

This commit is contained in:
Lemon-miaow committed 2026-09-26 12:10:32 +08:00
1 parent 659127b271
commit b496e59b99
9 files changed
+254 -32

No files matched your search

+3 -1
View File
@@ -5,6 +5,8 @@ import (
"strings"
"testing"
"felis.lolicon.best/internal/config"
tea "github.com/charmbracelet/bubbletea"
)
@@ -30,7 +32,7 @@ func newTestRoot(adminExists bool, mode consoleMode, accessAud string) *rootMode
return newRootModel(
context.Background(),
&fakeOwnerStore{},
"postgres://localhost/felis",
config.DatabaseConfig{URL: "postgres://localhost/felis"},
"felis.example.com",
"admin.felis.example.com",
"panel.felis.example.com",