Sindbad~EG File Manager

Current Path : /var/www/html/taet.readinessglobal.com/wp-content/plugins/presto-player/inc/Database/
Upload File :
Current File : /var/www/html/taet.readinessglobal.com/wp-content/plugins/presto-player/inc/Database/Migrations.php

<?php

namespace PrestoPlayer\Database;

use PrestoPlayer\Database\Videos;
use PrestoPlayer\Database\Visits;
use PrestoPlayer\Database\Presets;
use PrestoPlayer\Database\AudioPresets;
use PrestoPlayer\Database\EmailCollection;
use PrestoPlayer\Database\Upgrades\Upgrades;
use PrestoPlayer\Database\Upgrades\PerformanceUpgrade;

class Migrations
{
    public static function run()
    {
        // order of this one is important
        $performance = new PerformanceUpgrade();
        $performance->migrate();

        $visits = new Visits(new Table());
        $visits->install();

        $presets = new Presets(new Table());
        $presets->install();

        $audio_presets = new AudioPresets(new Table());
        $audio_presets->install();

        $videos = new Videos(new Table());
        $videos->install();

        $videos = new EmailCollection(new Table());
        $videos->install();

        $audio_presets = new Webhooks(new Table());
        $audio_presets->install();

        $upgrades = new Upgrades();
        $upgrades->migrate();
    }

    public static function remove()
    {
        $visits = new Visits(new Table());
        $visits->uninstall();

        $presets = new Presets(new Table());
        $presets->uninstall();

        $audio_presets = new AudioPresets(new Table());
        $audio_presets->uninstall();

        $videos = new Videos(new Table());
        $videos->uninstall();
    }
}

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists