Skip to content

postgrelize / AlterOptions

Type Alias: AlterOptions ​

AlterOptions = Readonly<{ drop?: boolean; }>

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

alter options of sync().

Example ​

ts
const alter: AlterOptions = { drop: false };
await sequelize.sync({ alter });

Released under the MIT License.