<?php
require 'includes/db.php';
try {
    $pdo->exec("ALTER TABLE production_lines ADD COLUMN start_date DATE AFTER name, ADD COLUMN end_date DATE AFTER start_date");
    echo "Columns added successfully";
} catch (Exception $e) {
    echo "Error: " . $e->getMessage();
}
