Created
October 14, 2013 17:04
-
-
Save kousuke-takeuchi/6978758 to your computer and use it in GitHub Desktop.
リレーションシップ用のデータベースを作成する
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ rails generate model Relationship follower_id:integer followed_id:integer | |
$ bundle exec rake db:migrate |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment