Skip to content

Commit c4cad76

Browse files
authored
Merge pull request rails#50439 from fatkodima/migrations_paths-for-replicas
Remove setting `migrations_paths` for replicas from the docs [skip ci]
2 parents 1c3ae87 + 1b2dcfb commit c4cad76

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

guides/source/active_record_multiple_databases.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,6 @@ production:
412412
database: my_primary_shard_one
413413
adapter: mysql2
414414
replica: true
415-
migrations_paths: db/migrate_shards
416415
primary_shard_two:
417416
database: my_primary_shard_two
418417
adapter: mysql2
@@ -421,7 +420,6 @@ production:
421420
database: my_primary_shard_two
422421
adapter: mysql2
423422
replica: true
424-
migrations_paths: db/migrate_shards
425423
```
426424

427425
Models are then connected with the `connects_to` API via the `shards` key:

0 commit comments

Comments
 (0)