LoginSignup
0
0

More than 3 years have passed since last update.

Sequel Proへのデータベース作成

Last updated at Posted at 2020-02-25

rails db:createで、データベースを作成できる。
VS Codeでdatabase.ymlを見ると運用環境が記述されており、
development、test、productionとある。
developmentは通常、開発をする際に使用する環境。
testはテスト環境。アプリケーションの動作をテストする際に使用する環境。
productionは本番環境。アプリケーションを実際にリリースする際に使用する環境。
rails db:createをターミナルに記述するとSequel Pro(シークエル・プロ)にアプリケーション名developmentとアプリケーション名testが作られる。

0
0
0

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