Creating a pull request for updating the message.sql script changes which will create the messages table once MySQL container will be created using docker-compose.
Here message.sql script is mounted into container's /docker-entrypoint-initdb.d directory which is where MySQL will look for initialisation scripts to execute on container startup. so no need of manually creating tables after container creation via connecting to mysql db.
Hey Shubham,
Creating a pull request for updating the message.sql script changes which will create the messages table once MySQL container will be created using docker-compose.
Here message.sql script is mounted into container's /docker-entrypoint-initdb.d directory which is where MySQL will look for initialisation scripts to execute on container startup. so no need of manually creating tables after container creation via connecting to mysql db.