Skip to content

postgrelize / DropOptions

Type Alias: DropOptions ​

DropOptions = QueryOptionsBase & Readonly<{ cascade?: boolean; schema?: string; }>

Defined in: src/query-interface/schema-synchronizer.ts:58

Options of drop(): cascade, schema plus the common query options.

Example ​

ts
const options: DropOptions = { cascade: true, schema: 'tenant_1' };
await sequelize.drop(options);

Released under the MIT License.