-- Fix: Add missing penalty_date column to penalty_charges table
-- Run each statement separately in phpMyAdmin

-- Step 1: Add the missing column
ALTER TABLE penalty_charges ADD COLUMN penalty_date DATE NULL DEFAULT NULL;

-- Step 2: Mark the migration as applied
INSERT IGNORE INTO django_migrations (app, name, applied) VALUES ('loans', '0024_add_penalty_date_field', NOW());
