@echo off
echo Fixing MonthlyInventorySnapshots table...
mysql -u root -p invcount_db < fix_snapshots_table.sql
if %errorlevel% equ 0 (
    echo Table created successfully!
) else (
    echo Error creating table. Please check your MySQL credentials and try again.
)
pause
