Skip to content

[FEATURE] Option to generate idempotent SQLΒ #241

@DiegoRevenga

Description

@DiegoRevenga

Describe the feature

It would be nice to have a flag to make the SQL generated idempotent, meaning for example that any CREATE statements include the IF NOT EXIXTS clause.
(e.g. CREATE TABLE my_table IF NOT EXISTS... or CREATE INDEX my_index IF NOT EXISTS...)
Also adding IF EXISTS to any DROP statements.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions