Skip to content

Script Changes feature does not respect identity/sequence columns, causing NOT NULL constraint violation. #807

@ChandraSaiKarthik

Description

@ChandraSaiKarthik

Steps to Reproduce:

  1. Open a table with an identity column (e.g., category_id in public.categories).
  2. Make changes and click Script Changes.
  3. Execute the generated script.
  4. Observe error: null value in column "category_id" violates not-null constraint.

Expected Behavior:
Generated script should omit identity column or use DEFAULT for insert.

Actual Behavior:
Script includes NULL for identity column, causing failure.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions