mirror of
https://github.com/ent/ent.git
synced 2026-05-24 09:31:56 +03:00
doc/website/blog: external tools and sum file (#2489)
* doc/website/blog: external tools and sum file * Apply suggestions from code review Co-authored-by: Ariel Mashraki <7413593+a8m@users.noreply.github.com> * doc/website/blog: apply CR * Apply suggestions from code review Co-authored-by: Hila Kashai <73284641+hilakashai@users.noreply.github.com> * doc/website/blog: minor fixes * doc/website/blog: invoke atlas command by calling go run * doc/website/blog: It's-a me, Jannik! * Apply suggestions from code review Co-authored-by: Rotem Tamir <rotemtamir@gmail.com> Co-authored-by: Ariel Mashraki <7413593+a8m@users.noreply.github.com> Co-authored-by: Hila Kashai <73284641+hilakashai@users.noreply.github.com> Co-authored-by: Rotem Tamir <rotemtamir@gmail.com>
This commit is contained in:
@@ -190,7 +190,7 @@ func (m *Migrate) NamedDiff(ctx context.Context, name string, tables ...*Table)
|
||||
if m.atlas.genSum {
|
||||
// Validate the migration directory before proceeding.
|
||||
if err := migrate.Validate(m.atlas.dir); err != nil {
|
||||
return err
|
||||
return fmt.Errorf("validating migration directory: %w", err)
|
||||
}
|
||||
} else {
|
||||
opts = append(opts, migrate.DisableChecksum())
|
||||
|
||||
Reference in New Issue
Block a user