Skip to content

postgrelize / DropExtensionOptions

Type Alias: DropExtensionOptions ​

DropExtensionOptions = Readonly<{ cascade?: boolean; ifExists?: boolean; }>

Defined in: src/ddl/extension-ddl.ts:37

postgrelize extension

Options of dropExtension. PostgreSQL extension.

Example ​

ts
const options: DropExtensionOptions = { ifExists: true, cascade: true };
await queryInterface.dropExtension('pg_trgm', options);

Released under the MIT License.