<?php

namespace MovieEngine\Core;

if (! defined("ABSPATH")) {
    exit; // Exit if accessed directly
}

class Database {

    public static function create_tables() {
        global $wpdb;
        $charset_collate = $wpdb->get_charset_collate();

        require_once ABSPATH . 'wp-admin/includes/upgrade.php';

        /**
         * Add core Lite tables here in the future if needed.
         * Example: Watchlist, Notifications, etc.
         */

        // Allow Pro or Add-ons to create their own tables
        do_action('movie_engine_create_tables', $charset_collate);
    }
}
