diff --git a/doc/md/versioned-migrations.mdx b/doc/md/versioned-migrations.mdx index c56a000ed..f65b3a4cb 100644 --- a/doc/md/versioned-migrations.mdx +++ b/doc/md/versioned-migrations.mdx @@ -118,7 +118,7 @@ docker run --name migration --rm -p 5432:5432 -e POSTGRES_PASSWORD=pass -e POSTG -2\. Create a `main.go` file under the `ent/migrate` package and customize the migration generation for your project. +2\. Create a file named `main.go` and a directory named `migrations` under the `ent/migrate` package and customize the migration generation for your project.