Skip to content

Commit

Permalink
doc: add an instruction to create a migrations directory (#3308)
Browse files Browse the repository at this point in the history
* Update versioned-migrations.mdx

* Update versioned-migrations.mdx
  • Loading branch information
noamcattan committed Feb 7, 2023
1 parent baec350 commit cf2428d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/md/versioned-migrations.mdx
Expand Up @@ -118,7 +118,7 @@ docker run --name migration --rm -p 5432:5432 -e POSTGRES_PASSWORD=pass -e POSTG
</TabItem>
</Tabs>

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.

<Tabs
defaultValue="atlas"
Expand Down

0 comments on commit cf2428d

Please sign in to comment.