mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
as of Rails 3.2.13 it appears that importing an engine's migration into the host app is achieved by rake blorgh_engine:install:migrations
This commit is contained in:
parent
da9031ae26
commit
62b9723fbf
1 changed files with 1 additions and 1 deletions
|
@ -461,7 +461,7 @@ NOTE: Other engines, such as Devise, handle this a little differently by making
|
||||||
The engine contains migrations for the `blorgh_posts` and `blorgh_comments` table which need to be created in the application's database so that the engine's models can query them correctly. To copy these migrations into the application use this command:
|
The engine contains migrations for the `blorgh_posts` and `blorgh_comments` table which need to be created in the application's database so that the engine's models can query them correctly. To copy these migrations into the application use this command:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ rake blorgh:install:migrations
|
$ rake blorgh_engine:install:migrations
|
||||||
```
|
```
|
||||||
|
|
||||||
If you have multiple engines that need migrations copied over, use `railties:install:migrations` instead:
|
If you have multiple engines that need migrations copied over, use `railties:install:migrations` instead:
|
||||||
|
|
Loading…
Reference in a new issue