Linux ip-172-31-33-47 5.4.0-1045-aws #47~18.04.1-Ubuntu SMP Tue Apr 13 15:58:14 UTC 2021 x86_64
Apache/2.4.29 (Ubuntu)
: 172.31.33.47 | : 3.22.242.214
Cant Read [ /etc/named.conf ]
7.4.20
www-data
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
var /
www /
html /
restaurants /
src /
Migrations /
[ HOME SHELL ]
Name
Size
Permission
Action
.gitignore
0
B
-rw-rw-r--
Version20190220131934.php
1.39
KB
-rw-rw-r--
Version20190220180154.php
4.33
KB
-rw-rw-r--
Version20190221163610.php
1.44
KB
-rw-rw-r--
Version20190221163942.php
1.44
KB
-rw-rw-r--
Version20190223113208.php
1.19
KB
-rw-rw-r--
Version20190225074136.php
1.43
KB
-rw-rw-r--
Version20190304220524.php
1.16
KB
-rw-rw-r--
Version20190313161914.php
1.19
KB
-rw-rw-r--
Version20190314142119.php
1.03
KB
-rw-rw-r--
Version20190314144540.php
1.03
KB
-rw-rw-r--
Version20190320145842.php
1.08
KB
-rw-rw-r--
Version20190322090002.php
1.61
KB
-rw-rw-r--
Version20190402152639.php
2.07
KB
-rw-rw-r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : Version20190402152639.php
<?php declare(strict_types=1); namespace App\Migrations; use Doctrine\DBAL\Schema\Schema; use Doctrine\Migrations\AbstractMigration; /** * Auto-generated Migration: Please modify to your needs! */ final class Version20190402152639 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 users ADD subscription_id INT DEFAULT NULL, DROP subscribed'); $this->addSql('ALTER TABLE users ADD CONSTRAINT FK_1483A5E99A1887DC FOREIGN KEY (subscription_id) REFERENCES subscription (id)'); $this->addSql('CREATE UNIQUE INDEX UNIQ_1483A5E99A1887DC ON users (subscription_id)'); $this->addSql('ALTER TABLE subscription ADD expiry DATETIME DEFAULT NULL, CHANGE user_id user_id INT DEFAULT NULL'); $this->addSql('ALTER TABLE subscription ADD CONSTRAINT FK_A3C664D3A76ED395 FOREIGN KEY (user_id) REFERENCES users (id)'); $this->addSql('CREATE UNIQUE INDEX UNIQ_A3C664D3A76ED395 ON subscription (user_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 subscription DROP FOREIGN KEY FK_A3C664D3A76ED395'); $this->addSql('DROP INDEX UNIQ_A3C664D3A76ED395 ON subscription'); $this->addSql('ALTER TABLE subscription DROP expiry, CHANGE user_id user_id INT NOT NULL'); $this->addSql('ALTER TABLE users DROP FOREIGN KEY FK_1483A5E99A1887DC'); $this->addSql('DROP INDEX UNIQ_1483A5E99A1887DC ON users'); $this->addSql('ALTER TABLE users ADD subscribed TINYINT(1) DEFAULT NULL, DROP subscription_id'); } }
Close