fileUploader + edit profile

This commit is contained in:
Olivier PARPAILLON
2024-11-20 10:53:29 +01:00
parent caa78c634b
commit 7091bd4094
10 changed files with 259 additions and 30 deletions

View File

@@ -10,7 +10,7 @@ use Doctrine\Migrations\AbstractMigration;
/**
* Auto-generated Migration: Please modify to your needs!
*/
final class Version20241119145530 extends AbstractMigration
final class Version20241120092127 extends AbstractMigration
{
public function getDescription(): string
{
@@ -20,12 +20,12 @@ final class Version20241119145530 extends AbstractMigration
public function up(Schema $schema): void
{
// this up() migration is auto-generated, please modify it to your needs
$this->addSql('CREATE UNIQUE INDEX UNIQ_IDENTIFIER_PSEUDO ON participant (pseudo)');
$this->addSql('ALTER TABLE participant ADD file_name VARCHAR(255) DEFAULT NULL');
}
public function down(Schema $schema): void
{
// this down() migration is auto-generated, please modify it to your needs
$this->addSql('DROP INDEX UNIQ_IDENTIFIER_PSEUDO ON participant');
$this->addSql('ALTER TABLE participant DROP file_name');
}
}