Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Update outdated explanation, `migrate` was moved from `Apartment::Tenant` to `Apartment::Migrator`.
  • Loading branch information
harmdewit authored Jan 16, 2023
1 parent 7d626d1 commit 4f7d353
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 @@ -531,7 +531,7 @@ You can then migrate your tenants using the normal rake task:
rake db:migrate
```

This just invokes `Apartment::Tenant.migrate(#{tenant_name})` for each tenant name supplied
This just invokes `Apartment::Migrator.migrate(#{tenant_name})` for each tenant name supplied
from `Apartment.tenant_names`

Note that you can disable the default migrating of all tenants with `db:migrate` by setting
Expand Down

0 comments on commit 4f7d353

Please sign in to comment.