Skip to content

postgrelize / CreateExtensionOptions

Type Alias: CreateExtensionOptions ​

CreateExtensionOptions = Readonly<{ cascade?: boolean; ifNotExists?: boolean; schema?: string; version?: string; }>

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

postgrelize extension

Options of createExtension. PostgreSQL extension.

Example ​

ts
const options: CreateExtensionOptions = { ifNotExists: true, schema: 'public' };
await queryInterface.createExtension('pg_trgm', options);

Released under the MIT License.