#!/bin/bash
# Drop the auth database if it exists

set -e

echo "🗑️  Dropping auth database if it exists..."

sudo -u postgres psql -c "DROP DATABASE IF EXISTS punimtag_auth;"

if [ $? -eq 0 ]; then
    echo "✅ Auth database dropped successfully"
else
    echo "⚠️  Failed to drop auth database (it may not exist)"
fi



