<?php
require_once 'config.php';

try {
    $sql = file_get_contents('migrate_video_assets.sql');
    $pdo->exec($sql);
    echo "数据库迁移成功！\n";
} catch (PDOException $e) {
    echo "数据库迁移失败: " . $e->getMessage() . "\n";
    exit(1);
}
?>