mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Use attributes instead of table names in migration example
This commit is contained in:
parent
993e164365
commit
24705014b8
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@
|
||||||
* The migration generator now creates a join table with (commented) indexes every time
|
* The migration generator now creates a join table with (commented) indexes every time
|
||||||
the migration name contains the word `join_table`:
|
the migration name contains the word `join_table`:
|
||||||
|
|
||||||
rails g migration create_join_table_for_artists_and_musics artists:index musics
|
rails g migration create_join_table_for_artists_and_musics artist_id:index music_id
|
||||||
|
|
||||||
*Aleksey Magusev*
|
*Aleksey Magusev*
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue