Skip to content

Commit c84f81e

Browse files
authored
Fix code example (#730)
1 parent 670f689 commit c84f81e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

guides/safe_migrations.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ Disable the DDL transaction in the migration to avoid a database transaction whi
6060

6161
```elixir
6262
# in config/config.exs
63-
config MyApp.Repo, migration_lock: :pg_advisory_lock
63+
config :my_app, MyApp.Repo, migration_lock: :pg_advisory_lock
6464

6565
# in the migration
6666
@disable_ddl_transaction true

0 commit comments

Comments
 (0)