postgrelize / DropSequenceOptions
Type Alias: DropSequenceOptions ​
DropSequenceOptions =
Readonly<{cascade?:boolean;ifExists?:boolean; }>
Defined in: src/ddl/sequence-ddl.ts:84
postgrelize extensionOptions of dropSequence. PostgreSQL extension.
Example ​
ts
const options: DropSequenceOptions = { ifExists: true };
await queryInterface.dropSequence('invoice_number', options);