Skip to content

Commit

Permalink
'rails db:migrate' is recommended on Rails 5
Browse files Browse the repository at this point in the history
  • Loading branch information
kei-s committed Jul 10, 2016
1 parent b6cb3fe commit 2fed50c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion _posts/2012-04-18-app.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ scaffold は新しいファイルをプロジェクトのディレクトリに
<div class="os-specific">
<div class="nix">
{% highlight sh %}
bin/rake db:migrate
rails db:migrate
rails server
{% endhighlight %}
</div>
Expand Down
2 changes: 1 addition & 1 deletion _posts/2012-04-19-heroku.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ Total 134 (delta 26), reused 0 (delta 0)
そして、ワークショップでローカルにやったように、データベースのマイグレートをする必要があります。 :

{% highlight sh %}
heroku run rake db:migrate
heroku run rails db:migrate
{% endhighlight %}

そのコマンドが実行されたら、 url でアプリを見ることができます。このアプリの例では、 [http://evening-sky-7498.herokuapp.com/](http://evening-sky-7498.herokuapp.com) です。もしくは、ターミナルで次のコマンドを実行すれば、そのページを見に行くことができます。
Expand Down
2 changes: 1 addition & 1 deletion _posts/2012-04-30-commenting.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ rails g scaffold comment user_name:string body:text idea_id:integer
<div class="os-specific">
<div class="nix">
{% highlight sh %}
bin/rake db:migrate
rails db:migrate
{% endhighlight %}
</div>

Expand Down
2 changes: 1 addition & 1 deletion _posts/2012-11-01-devise.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ User model を作るために bundled generator script を使います。
<div class="nix">
{% highlight sh %}
rails g devise user
bin/rake db:migrate
rails db:migrate
{% endhighlight %}
</div>

Expand Down

0 comments on commit 2fed50c

Please sign in to comment.