feat(EsyWeb/Intranet): Ajoute et modifie les routes et gère les prix automatiques.
```
This commit is contained in:
Serreau Jovann
2025-10-22 11:35:06 +02:00
parent da028d4f39
commit 23154c4372
8 changed files with 337 additions and 4 deletions

View File

@@ -0,0 +1,32 @@
<?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 Version20251017085407 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->addSql('CREATE TABLE customer_price (id SERIAL NOT NULL, type VARCHAR(255) NOT NULL, ammount DOUBLE PRECISION NOT NULL, description TEXT DEFAULT NULL, PRIMARY KEY(id))');
}
public function down(Schema $schema): void
{
// this down() migration is auto-generated, please modify it to your needs
$this->addSql('CREATE SCHEMA public');
$this->addSql('DROP TABLE customer_price');
}
}