<?php
/**
 * Plugin uninstall handler.
 *
 * Removes plugin data from the database. Form meta is intentionally preserved
 * so that per-form account assignments survive a re-install.
 *
 * @since   1.0.0
 * @package DonationRouter
 */

declare( strict_types=1 );

if ( ! defined( 'WP_UNINSTALL_PLUGIN' ) ) {
	exit;
}

require_once __DIR__ . '/vendor/autoload.php';

use DonationRouter\Database_Installer;

Database_Installer::uninstall();
