doc/md: add missing codereview comment (#2852)

This commit is contained in:
Ariel Mashraki
2022-08-14 14:45:16 +03:00
committed by GitHub
parent 01a4906931
commit 0350da3267

View File

@@ -16,7 +16,7 @@ your needs and be applied by many existing migration tools, such as golang-migra
As mentioned above, versioned migrations only work if the new [Atlas](https://atlasgo.io) based migration engine is
used. Migration files are generated by computing the difference between two **states**. We call the state reflected by
your Ent schema the **desired** state, and the **current** state is the last state of your schema before your most
recent changes. There two ways for Ent to determine the current state:
recent changes. There are two ways for Ent to determine the current state:
1. Replay the existing migration directory and inspect the schema (default)
2. Connect to an existing database and inspect the schema
@@ -68,7 +68,7 @@ import (
func main() {
err := entc.Generate("./schema", &gen.Config{
//highlight-next-line
//highlight-next-line
Features: []gen.Feature{gen.FeatureVersionedMigration},
})
if err != nil {