feat: answer received form submissions by mail
This commit is contained in:
1 parent
19364df2db
commit
aa728ddc99
22 files changed
+974
-9
No files matched your search
@@ -0,0 +1,34 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace DoctrineMigrations;
|
||||
|
||||
use Doctrine\DBAL\Schema\Schema;
|
||||
use Doctrine\Migrations\AbstractMigration;
|
||||
|
||||
/**
|
||||
* The one payload field a rule depends on: whether the form reported an EU (incl. Switzerland)
|
||||
* nationality. Nullable with three meanings - true, false, and "this form does not ask" - because
|
||||
* only true earns the automatic receipt mail.
|
||||
*
|
||||
* Hand-written rather than generated, like the other two: doctrine:migrations:diff also sweeps in
|
||||
* the long-standing dev drift and tables from other branches.
|
||||
*/
|
||||
final class Version20260924120000 extends AbstractMigration
|
||||
{
|
||||
public function getDescription(): string
|
||||
{
|
||||
return 'Add the eu eligibility flag to application_form_submission';
|
||||
}
|
||||
|
||||
public function up(Schema $schema): void
|
||||
{
|
||||
$this->addSql('ALTER TABLE application_form_submission ADD eu TINYINT DEFAULT NULL');
|
||||
}
|
||||
|
||||
public function down(Schema $schema): void
|
||||
{
|
||||
$this->addSql('ALTER TABLE application_form_submission DROP eu');
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user