0
0

More than 1 year has passed since last update.

【Ruby on Rails】データベースを削除する方法

Posted at

こんにちは!安田駿介です!

今回は「Railsでデータベースを削除する方法」というテーマで解説していきます。

ターミナルで「rails db:migrate:reset」と入力する

これだけですね。

image.png

という結果になります。

開発環境

・Cloud9
・Ruby 3.0.0
・Rails 6.1.3.1
・MySQL2

0
0
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0