Naposledy aktivní 1 month ago

Configuración global de lazysql — conexiones guardadas y opciones de aplicación

config.toml Raw
1[[database]]
2Name = 'Producción'
3Provider = 'postgres'
4DBName = 'foo'
5URL = 'postgres://${env:DB_USER}:${env:DB_PASSWORD}@localhost:${port}/foo'
6ReadOnly = true
7Commands = [
8 { Command = 'ssh -tt remote-bastion -L ${port}:localhost:5432', WaitForPort = '${port}' },
9 { Command = 'whoami', SaveOutputTo = 'user' },
10]
11
12[[database]]
13Name = 'Desarrollo'
14Provider = 'postgres'
15DBName = 'foo'
16URL = 'postgres://postgres:pass@localhost:5432/foo'
17
18[application]
19DefaultPageSize = 300
20DisableSidebar = false
21SidebarOverlay = false
22JSONViewerWordWrap = false
23EnterOpensJSONViewer = false
24ConfirmOnQuit = true
25