Creating the news databases

In the command_db/create.sql file, we will define the production, development, and test databases. Consider the following example:

CREATE DATABASE news_prod; 
CREATE DATABASE news_dev; 
CREATE DATABASE news_test; 

Get Microservice Patterns and Best Practices now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.