I know this question is already asked and also answer given. But it is not working for me. I follow the same. My postgres container is running fine. I checked inside the contain
You can write your queries inside init.sql, in this squence:-
DROP DATABASE IF EXISTS test_db; CREATE DATABASE test_db; \c test_db; CREATE TABLE Role( RoleID SERIAL PRIMARY KEY, RoleName varchar(50), ); insert into Role(RoleName) values ('Admin'),('User');