Add support for metatags
This commit is contained in:
parent
ae440be40c
commit
4564aa9534
25 changed files with 230 additions and 22 deletions
35
migrations/Version20260608200422.php
Normal file
35
migrations/Version20260608200422.php
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
<?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 Version20260608200422 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('ALTER TABLE page ADD description TEXT DEFAULT NULL');
|
||||
$this->addSql('ALTER TABLE photos ADD description TEXT DEFAULT NULL');
|
||||
$this->addSql('ALTER TABLE post ADD description TEXT DEFAULT NULL');
|
||||
}
|
||||
|
||||
public function down(Schema $schema): void
|
||||
{
|
||||
// this down() migration is auto-generated, please modify it to your needs
|
||||
$this->addSql('ALTER TABLE page DROP description');
|
||||
$this->addSql('ALTER TABLE photos DROP description');
|
||||
$this->addSql('ALTER TABLE post DROP description');
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue