Skip to content

Commit

Permalink
migrate: Warn about the important things when starting a migration
Browse files Browse the repository at this point in the history
Co-authored-by: Trong Nguyen <[email protected]>
  • Loading branch information
mortenlj and tronghn committed Oct 10, 2024
1 parent e375ff3 commit 8759feb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/postgres/migrate/setup.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ func (m *Migrator) Setup(ctx context.Context) error {
}

m.printConfig()
pterm.Warning.Println("This will create a new database instance and start replication of data from the source instance.")
pterm.Warning.Println("Do not make structural database changes during migration!\nThis is not supported, and will cause problems!")
err = confirmContinue()
if err != nil {
return err
Expand Down

0 comments on commit 8759feb

Please sign in to comment.