SyncOptions interface
Sequelize's own sync options, extended for views and column indices.
Signature:
export interface SyncOptions extends SyncOptionsOrigin
Extends: SyncOptionsOrigin
Remarks
Passing nothing is the common case: tables, then views, then indices. The two additions worth knowing are withNoViews, for a deployment where views are managed outside the application, and withoutDrop, for views that depend on each other.
Properties
|
Property |
Modifiers |
Type |
Description |
|---|---|---|---|
|
boolean |
(Optional) Has no effect when passed to a sync call. | ||
|
boolean |
(Optional) Syncs tables and indices only, leaving every view untouched. | ||
|
boolean |
(Optional) Replaces each view in place instead of dropping it first. |