```
✨ feat(Customer): Ajoute la fonction de clonage d'entité Customer. ✨ feat(SignClient): Utilise Docuseal avec PDF pour la signature des devis. ✨ feat(AvatarController): Ajoute un endpoint pour le verrouillage de l'application. ✨ feat(IpWall): Ajoute un composant web pour bloquer l'accès basé sur l'IP. 🎨 style(admin.scss): Ajoute des styles pour le modal de paiement et les murs de sécurité. ✨ feat(RegisterPayment): Ajoute un composant pour enregistrer les paiements. 🐛 fix(DevisPdf): Corrige l'alignement des totaux dans le PDF du devis. 🔥 chore: Ajoute discord_bot/node_modules au .gitignore. ✨ feat(ExportComptable): Ajoute une commande pour exporter les données comptables. ✨ feat(LockdownWall): Ajoute un composant web pour le verrouillage de l'application. 🐛 fix(CustomerController): Corrige la copie des contacts lors du clonage du client. ✨ feat(SecurityWall): Ajoute un composant web pour activer/désactiver le filtre de confidentialité.
This commit is contained in:
36
migrations/Version20250925100420.php
Normal file
36
migrations/Version20250925100420.php
Normal file
@@ -0,0 +1,36 @@
|
||||
<?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 Version20250925100420 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_advert_payment_register (id SERIAL NOT NULL, advert_id INT DEFAULT NULL, amount DOUBLE PRECISION NOT NULL, create_at TIMESTAMP(0) WITHOUT TIME ZONE NOT NULL, numero_remise VARCHAR(255) DEFAULT NULL, cheque_num VARCHAR(255) DEFAULT NULL, type VARCHAR(255) NOT NULL, PRIMARY KEY(id))');
|
||||
$this->addSql('CREATE INDEX IDX_673F7A3ED07ECCB6 ON customer_advert_payment_register (advert_id)');
|
||||
$this->addSql('COMMENT ON COLUMN customer_advert_payment_register.create_at IS \'(DC2Type:datetime_immutable)\'');
|
||||
$this->addSql('ALTER TABLE customer_advert_payment_register ADD CONSTRAINT FK_673F7A3ED07ECCB6 FOREIGN KEY (advert_id) REFERENCES customer_advert_payment (id) NOT DEFERRABLE INITIALLY IMMEDIATE');
|
||||
}
|
||||
|
||||
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('ALTER TABLE customer_advert_payment_register DROP CONSTRAINT FK_673F7A3ED07ECCB6');
|
||||
$this->addSql('DROP TABLE customer_advert_payment_register');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user