-- I DO NOT KNOW IF THIS WORKS --
-- I AM PLAYING ARROUND WITH START UP SCRIPTS FOR THE CONTAINER -- 

-- Drop existing roles/users if they exist
DROP ROLE IF EXISTS admin;
DROP USER IF EXISTS admin;

-- Create admin user with strong password using bcrypt
CREATE USER admin WITH PASSWORD 'password';

-- Grant all privileges
ALTER ROLE admin SUPERUSER;
GRANT ALL PRIVILEGES TO admin;
