Skip to content

ESP-026 — DDL DROP INDEX IF EXISTS (Firebird + PostgreSQL) #41

Description

@isaquepinheiro

ESP-026 — DDL DROP INDEX + IF EXISTS

Estender DROP INDEX (ESP-025) com GetIfExists / método fluente IfExists, e serialização DROP INDEX IF EXISTS em Firebird e PostgreSQL conforme ADR-026. Comportamento actual preservado quando IfExists não é usado.

Scope

  • Interfaces IFluentDDLDropIndexDef / IFluentDDLDropIndexBuilder com GetIfExists e IfExists (alinhado a IFluentDDLDropBuilder).
  • DDLDropIndexSQL actualizado; excepções conforme ADR-026.
  • Testes DUnitX em Test Delphi/test.ddl.pas.
  • Documentação: docs-src/docs/fluentsql/guides/ddl-drop-index.md (e referências se necessário).

Out of scope

CONCURRENTLY, CASCADE, múltiplos índices; MySQL-style DROP INDEX … ON table; CHANGELOG/versão fora de /release.

Acceptance criteria

  • API e serialização conforme ADR-026 e esp.md.
  • Regressão ESP-025 verificada (sem IfExists, comportamento inalterado).
  • Testes DUnitX para IfExists em Firebird e PostgreSQL; dialeto não suportado conforme matriz.
  • Guia Docusaurus actualizado; npm run build em docs-src se .md alterado.
  • Relatórios da esteira sem contradição com ESP-026.

References

esp.md, adr.md, plan.md, task-input.md em .claude/pipeline/.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    Status
    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions