Skip to content

Add check constraints at table-alter time #178

@louwers

Description

@louwers

Quoting the documentation.

SQLite3 supports specifying check constraints on the table or on the column definition. We currently only support adding a check constraint via a column definition, since the table definition approach only works at table-creation time and cannot be added at table-alter time.

Just wanted to let you know that as of SQLite 3.53.0 this is possible.

Enhance ALTER TABLE to permit adding and removing NOT NULL and CHECK constraints.

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