diff --git a/migrations/Version20240519153645.php b/migrations/Version20240519153645.php new file mode 100644 index 0000000..c895424 --- /dev/null +++ b/migrations/Version20240519153645.php @@ -0,0 +1,31 @@ +addSql('ALTER TABLE admin_member_revision CHANGE email email VARCHAR(200) DEFAULT NULL'); + } + + public function down(Schema $schema): void + { + // this down() migration is auto-generated, please modify it to your needs + $this->addSql('ALTER TABLE admin_member_revision CHANGE email email VARCHAR(200) NOT NULL'); + } +} diff --git a/src/Entity/Member.php b/src/Entity/Member.php index 6ecd17a..1d33f5c 100644 --- a/src/Entity/Member.php +++ b/src/Entity/Member.php @@ -94,7 +94,6 @@ class Member implements UserInterface { /** * @ORM\ManyToMany(targetEntity="Division", inversedBy="contacts") - * @ORM\JoinTable(name="division_member") */ private Collection $managed_divisions;