<?php
require_once __DIR__ . '/../../db/config.php';

try {
    $pdo = db();
    $sql = "ALTER TABLE event_types ADD COLUMN display_order INT NOT NULL DEFAULT 0";
    $pdo->exec($sql);
    echo "Migration 010_add_display_order_to_event_types executed successfully." . PHP_EOL;
} catch (PDOException $e) {
    echo "Error executing migration 010_add_display_order_to_event_types: " . $e->getMessage() . PHP_EOL;
    exit(1);
}
