dropDatabase

Drops an existing database in Snowflake with options for conditional dropping and cascade/restrict behavior.

Note: This change type does not support automatic rollback or database inspection features (snapshot, diff, diff-changelog, and generate-changelog commands).

Available attributes

Attribute

Type

Description

Required

databaseName

String

Name of the database to drop

Yes

ifExists

Boolean

Only execute if the database exists

No

dropMode

String

Drop mode: CASCADE or RESTRICT

No

loading