feat : Ajout de zod, création d'un composant de chargement loading-dots.vue et finalisation du flow d'une reception
This commit is contained in:
28
migrations/Version20260112000500.php
Normal file
28
migrations/Version20260112000500.php
Normal file
@@ -0,0 +1,28 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace DoctrineMigrations;
|
||||
|
||||
use Doctrine\DBAL\Schema\Schema;
|
||||
use Doctrine\Migrations\AbstractMigration;
|
||||
|
||||
final class Version20260112000500 extends AbstractMigration
|
||||
{
|
||||
public function getDescription(): string
|
||||
{
|
||||
return 'Remove dsd and weight columns from reception';
|
||||
}
|
||||
|
||||
public function up(Schema $schema): void
|
||||
{
|
||||
$this->addSql('ALTER TABLE reception DROP dsd');
|
||||
$this->addSql('ALTER TABLE reception DROP weight');
|
||||
}
|
||||
|
||||
public function down(Schema $schema): void
|
||||
{
|
||||
$this->addSql('ALTER TABLE reception ADD dsd INT DEFAULT NULL');
|
||||
$this->addSql('ALTER TABLE reception ADD weight DOUBLE PRECISION DEFAULT NULL');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user