fix: Schema and Host transposed in output 🐛
This commit is contained in:
@@ -99,8 +99,8 @@ func (c *Client) Dump() error {
|
|||||||
// Construct schema output
|
// Construct schema output
|
||||||
fmt.Printf("%s Dumping schema %s from %s\n\r",
|
fmt.Printf("%s Dumping schema %s from %s\n\r",
|
||||||
style.Success(icon.Info),
|
style.Success(icon.Info),
|
||||||
lipgloss.NewStyle().Foreground(color.Purple).Render(c.hostname),
|
|
||||||
lipgloss.NewStyle().Foreground(color.Yellow).Render(fmt.Sprint(c.databaseName)),
|
lipgloss.NewStyle().Foreground(color.Yellow).Render(fmt.Sprint(c.databaseName)),
|
||||||
|
lipgloss.NewStyle().Foreground(color.Purple).Render(c.hostname),
|
||||||
)
|
)
|
||||||
|
|
||||||
response, err := exec.Command(c.executable,
|
response, err := exec.Command(c.executable,
|
||||||
@@ -126,15 +126,15 @@ func (c *Client) Dump() error {
|
|||||||
fmt.Printf(
|
fmt.Printf(
|
||||||
"%s Done dumping schema %s from %s\n\r",
|
"%s Done dumping schema %s from %s\n\r",
|
||||||
style.Success(icon.Check),
|
style.Success(icon.Check),
|
||||||
lipgloss.NewStyle().Foreground(color.Purple).Render(c.hostname),
|
|
||||||
lipgloss.NewStyle().Foreground(color.Yellow).Render(fmt.Sprint(c.databaseName)),
|
lipgloss.NewStyle().Foreground(color.Yellow).Render(fmt.Sprint(c.databaseName)),
|
||||||
|
lipgloss.NewStyle().Foreground(color.Purple).Render(c.hostname),
|
||||||
)
|
)
|
||||||
// Construct data output
|
// Construct data output
|
||||||
|
|
||||||
fmt.Printf("%s Dumping data %s from %s\n\r",
|
fmt.Printf("%s Dumping data %s from %s\n\r",
|
||||||
style.Success(icon.Info),
|
style.Success(icon.Info),
|
||||||
lipgloss.NewStyle().Foreground(color.Purple).Render(c.hostname),
|
|
||||||
lipgloss.NewStyle().Foreground(color.Yellow).Render(fmt.Sprint(c.databaseName)),
|
lipgloss.NewStyle().Foreground(color.Yellow).Render(fmt.Sprint(c.databaseName)),
|
||||||
|
lipgloss.NewStyle().Foreground(color.Purple).Render(c.hostname),
|
||||||
)
|
)
|
||||||
|
|
||||||
_ = exec.Command(c.executable,
|
_ = exec.Command(c.executable,
|
||||||
@@ -151,15 +151,15 @@ func (c *Client) Dump() error {
|
|||||||
fmt.Printf(
|
fmt.Printf(
|
||||||
"%s Done dumping data %s from %s\n\r",
|
"%s Done dumping data %s from %s\n\r",
|
||||||
style.Success(icon.Check),
|
style.Success(icon.Check),
|
||||||
lipgloss.NewStyle().Foreground(color.Purple).Render(c.hostname),
|
|
||||||
lipgloss.NewStyle().Foreground(color.Yellow).Render(fmt.Sprint(c.databaseName)),
|
lipgloss.NewStyle().Foreground(color.Yellow).Render(fmt.Sprint(c.databaseName)),
|
||||||
|
lipgloss.NewStyle().Foreground(color.Purple).Render(c.hostname),
|
||||||
)
|
)
|
||||||
|
|
||||||
// Construct routines/triggers output
|
// Construct routines/triggers output
|
||||||
fmt.Printf("%s Dumping routines %s from %s\n\r",
|
fmt.Printf("%s Dumping routines %s from %s\n\r",
|
||||||
style.Success(icon.Info),
|
style.Success(icon.Info),
|
||||||
lipgloss.NewStyle().Foreground(color.Purple).Render(c.hostname),
|
|
||||||
lipgloss.NewStyle().Foreground(color.Yellow).Render(fmt.Sprint(c.databaseName)),
|
lipgloss.NewStyle().Foreground(color.Yellow).Render(fmt.Sprint(c.databaseName)),
|
||||||
|
lipgloss.NewStyle().Foreground(color.Purple).Render(c.hostname),
|
||||||
)
|
)
|
||||||
|
|
||||||
_ = exec.Command(c.executable,
|
_ = exec.Command(c.executable,
|
||||||
|
|||||||
Reference in New Issue
Block a user