mirror of
https://github.com/ent/ent.git
synced 2026-05-24 09:31:56 +03:00
doc/versioned: mention the globalid option in migrate-diff (#3350)
This commit is contained in:
@@ -117,6 +117,11 @@ In order to automatically generate migration files, you can use one of the two a
|
||||
|
||||
<AtlasMigrateDiff/>
|
||||
|
||||
:::note
|
||||
To enable the [`GlobalUniqueID`](migrate.md#universal-ids) option in versioned migration, append the query parameter
|
||||
`globalid=1` to the desired state. For example: `--to "ent://ent/schema?globalid=1"`.
|
||||
:::
|
||||
|
||||
Run `ls ent/migrate/migrations` after the command above was passed successfully, and you will notice Atlas created 2
|
||||
files:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user