You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

26 lines
686 B

<?php
declare(strict_types=1);
namespace DoctrineMigrations;
use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;
final class Version20260527110000 extends AbstractMigration
{
public function getDescription(): string
{
return 'Add wiki_kinds column to article table for NIP-54 kind 30817 wiki pages';
}
public function up(Schema $schema): void
{
$this->addSql('ALTER TABLE article ADD wiki_kinds JSON DEFAULT NULL COMMENT \'NIP-54 wiki: k-tag kind values (null = not a wiki page)\'');
}
public function down(Schema $schema): void
{
$this->addSql('ALTER TABLE article DROP COLUMN wiki_kinds');
}
}