migrations/Version20250909093716.php line 1
<?phpdeclare(strict_types=1);namespace DoctrineMigrations;use Doctrine\DBAL\Schema\Schema;use Doctrine\Migrations\AbstractMigration;/*** Auto-generated Migration: Please modify to your needs!*/final class Version20250909093716 extends AbstractMigration{public function getDescription(): string{return 'Add city field to user table';}public function up(Schema $schema): void{// Add city field to user table$this->addSql('ALTER TABLE user ADD city VARCHAR(50) DEFAULT NULL');}public function down(Schema $schema): void{// Remove city field from user table$this->addSql('ALTER TABLE `user` DROP city');}}