Skip to content

Commit

Permalink
Fixed readme. Migration settings bug. (Kros-sk#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
LukasSefcik authored and satano committed Sep 27, 2019
1 parent 501ad9f commit 8ee8642
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ public void ConfigureServices(IServiceCollection services)
}
```

Migrations are disabled by default, so the previous code requires that the automatic migrations are enabled in connection string: `KormAutoMigrate=true`
Migrations are disabled by default, so the previous code requires that the automatic migrations are enabled in KormSettings for each connection string: `AutoMigrate=true`

Korm by default performs migrations by searching the main assembly for files in `SqlScripts` directory. The script file name must match pattern `{migrationId}_{MigrationName}.sql`. `MigrationId` is increasing number over time.

Expand Down

0 comments on commit 8ee8642

Please sign in to comment.