1
0
Fork 0
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:
José Valim 2012-07-19 09:05:54 +03:00
parent 993e164365
commit 24705014b8

View file

@ -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*