不要怂,就是干,撸起袖子干!

Commit 2f7b32bf by Abady Committed by Erik Seliger

fix(types): add missing types to SyncOptions (#10948)

1 parent 41985c5a
Showing with 15 additions and 0 deletions
...@@ -51,6 +51,21 @@ export interface SyncOptions extends Logging { ...@@ -51,6 +51,21 @@ export interface SyncOptions extends Logging {
* The schema that the tables should be created in. This can be overridden for each table in sequelize.define * The schema that the tables should be created in. This can be overridden for each table in sequelize.define
*/ */
schema?: string; schema?: string;
/**
* An optional parameter to specify the schema search_path (Postgres only)
*/
searchPath?: string;
/**
* If hooks is true then beforeSync, afterSync, beforeBulkSync, afterBulkSync hooks will be called
*/
hooks?: boolean;
/**
* Alters tables to fit models. Not recommended for production use. Deletes data in columns that were removed or had their type changed in the model.
*/
alter?: boolean;
} }
export interface DefaultSetOptions {} export interface DefaultSetOptions {}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!