rails db:createで、データベースを作成できる。
VS Codeでdatabase.ymlを見ると運用環境が記述されており、
development、test、productionとある。
developmentは通常、開発をする際に使用する環境。
testはテスト環境。アプリケーションの動作をテストする際に使用する環境。
productionは本番環境。アプリケーションを実際にリリースする際に使用する環境。
rails db:createをターミナルに記述するとSequel Pro(シークエル・プロ)にアプリケーション名developmentとアプリケーション名testが作られる。
More than 3 years have passed since last update.
Register as a new user and use Qiita more conveniently
- You get articles that match your needs
- You can efficiently read back useful information
- You can use dark theme
List of users who liked
00