mirror of
https://forge.chapril.org/tykayn/osm-commerces
synced 2025-06-20 01:44:42 +02:00
42 lines
997 B
PHP
42 lines
997 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 Version20250603172628 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 lat INT DEFAULT NULL
|
||
|
SQL);
|
||
|
$this->addSql(<<<'SQL'
|
||
|
ALTER TABLE place ADD lon INT 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 lat
|
||
|
SQL);
|
||
|
$this->addSql(<<<'SQL'
|
||
|
ALTER TABLE place DROP lon
|
||
|
SQL);
|
||
|
}
|
||
|
}
|