* @category Class * @license https://www.gnu.org/licenses/lgpl-3.0.en.html GNU Lesser General Public License * @link www.splendidbear.org * @since 2026. 04. 16. */ final class Version20260416094849 extends AbstractMigration { public function getDescription(): string { return 'Add consent property to user entity for GDPR compliance'; } public function up(Schema $schema): void { $this->addSql('ALTER TABLE app_user ADD consent_given BOOLEAN DEFAULT NULL'); } public function down(Schema $schema): void { $this->addSql('ALTER TABLE app_user DROP consent_given'); } }