Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'rails db:migrate' is recommended on Rails 5 #203

Merged
merged 1 commit into from
Jul 17, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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