Closed wakatakeru closed 3 years ago
Implement automatic table creation and sample data insertion. In this change, an SQL script is placed in docker-entrypoint-initdb.d in the container to create the table and insert the sample data.
docker-entrypoint-initdb.d
docker-compose.yml
sql/01.create-user-table.sql
sql/02.insert-initial-users.sql
Summary
Implement automatic table creation and sample data insertion. In this change, an SQL script is placed in
docker-entrypoint-initdb.d
in the container to create the table and insert the sample data.Changes
docker-compose.yml
sql/01.create-user-table.sql
sql/02.insert-initial-users.sql