#docker compose -f docker-compose.full.yml exec web sh
docker compose -f docker-compose.full.yml exec web sh
npx prisma generate
npx prisma migrate deploy
npx prisma db seed
docker exec -it estate-platform-db psql -U postgres estate
\dt
SELECT email, role FROM "User";

docker compose exec -e DATABASE_URL="postgresql://postgres:postgres@postgres:5432/estate_platform" web npx prisma migrate deploy
docker compose exec -e DATABASE_URL="postgresql://postgres:postgres@postgres:5432/estate_platform" web npm run db:seed

# Login to container shell
cd /app

# Run Prisma commands
/app/node_modules/.bin/prisma migrate status
/app/node_modules/.bin/prisma generate
/app/node_modules/.bin/prisma db seed
/app/node_modules/.bin/prisma studio

./prisma-cli.sh migrate status
./prisma-cli.sh studio

docker compose -f docker-compose.yaml exec web sh -c "echo DATABASE_URL=\$DATABASE_URL"
