mirror of
https://github.com/ent/ent.git
synced 2026-03-05 19:35:23 +03:00
doc: add an instruction to create a migrations directory (#3308)
* Update versioned-migrations.mdx * Update versioned-migrations.mdx
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user