mirror of
				https://forge.chapril.org/tykayn/osm-commerces
				synced 2025-10-09 17:02:46 +02:00 
			
		
		
		
	
		
			
	
	
		
			36 lines
		
	
	
	
		
			860 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
		
		
			
		
	
	
			36 lines
		
	
	
	
		
			860 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
|   | <?php | ||
|  | 
 | ||
|  | declare(strict_types=1); | ||
|  | 
 | ||
|  | namespace DoctrineMigrations; | ||
|  | 
 | ||
|  | use Doctrine\DBAL\Schema\Schema; | ||
|  | use Doctrine\Migrations\AbstractMigration; | ||
|  | 
 | ||
|  | /** | ||
|  |  * Auto-generated Migration: Please modify to your needs! | ||
|  |  */ | ||
|  | final class Version20250619074501 extends AbstractMigration | ||
|  | { | ||
|  |     public function getDescription(): string | ||
|  |     { | ||
|  |         return ''; | ||
|  |     } | ||
|  | 
 | ||
|  |     public function up(Schema $schema): void | ||
|  |     { | ||
|  |         // this up() migration is auto-generated, please modify it to your needs
 | ||
|  |         $this->addSql(<<<'SQL' | ||
|  |             ALTER TABLE place ADD osm_data_date TIMESTAMP(0) WITHOUT TIME ZONE DEFAULT NULL | ||
|  |         SQL); | ||
|  |     } | ||
|  | 
 | ||
|  |     public function down(Schema $schema): void | ||
|  |     { | ||
|  |         // this down() migration is auto-generated, please modify it to your needs
 | ||
|  |         $this->addSql(<<<'SQL' | ||
|  |             ALTER TABLE place DROP osm_data_date | ||
|  |         SQL); | ||
|  |     } | ||
|  | } |