Skip to content

ESP-035: DDL Foreign Keys & References Support #49

Description

@isaquepinheiro

Description

Expand the DDL builder to support Foreign Keys via the .References\ clause (ESP-035).

Context

Following ESP-034, Foreign Keys are essential for referential integrity.

Acceptance criteria

  • Method .References\ available in DDL column builders.
  • \CREATE TABLE\ correctly serializes \REFERENCES T(C)\ for Firebird.
  • \CREATE TABLE\ correctly serializes \REFERENCES T(C)\ for PostgreSQL.
  • \ALTER TABLE ADD COLUMN\ correctly includes the \REFERENCES\ clause.
  • All unit tests pass.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions