@echo off
echo Adding 'controller' role to users table...
mysql -u root -p invcount_db < add_controller_role.sql
if %errorlevel% equ 0 (
    echo Controller role added successfully!
) else (
    echo Error adding controller role. Please check your MySQL credentials and try again.
)
pause
