@ -20,14 +20,14 @@ final class Version20251130103218 extends AbstractMigration
@@ -20,14 +20,14 @@ final class Version20251130103218 extends AbstractMigration
public function up(Schema $schema): void
{
// this up() migration is auto-generated, please modify it to your needs
$this->addSql('ALTER TABLE article ALTER id ADD GENERATED BY DEFAULT AS IDENTITY');
// $this->addSql('ALTER TABLE article ALTER id ADD GENERATED BY DEFAULT AS IDENTITY');
$this->addSql('DROP INDEX idx_event_kind');
}
public function down(Schema $schema): void
{
// this down() migration is auto-generated, please modify it to your needs
$this->addSql('ALTER TABLE article ALTER id DROP IDENTITY');
// $this->addSql('ALTER TABLE article ALTER id DROP IDENTITY');
$this->addSql('CREATE INDEX idx_event_kind ON event (kind)');