Skip to content

ALTER TABLE ADD CONSTRAINT is ignored #4

@s13o

Description

@s13o

At the export of schema from Spanner web console some FK could be exported by a separate ALTER TABLE instructions like

ALTER TABLE ASSESSMENT ADD CONSTRAINT FK_ASSESSMENT_ACTIVITY FOREIGN KEY(CARE_ACTIVITY_ID) REFERENCES CARE_ACTIVITY(CARE_ACTIVITY_ID);

Such FK-constraints are completely skipped. It is not comfortable. I have to review and manually edit the DDL script to fix it. It could be dozens of such constraints in DDL export.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions