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

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