From 526f6ad33d2cca609ec34089920a67bb41cc9381 Mon Sep 17 00:00:00 2001 From: Sebastian Keller <1693354+sebikeller@users.noreply.github.com> Date: Thu, 20 Sep 2018 11:49:38 +0200 Subject: [PATCH] Missing `DefineOptions`.`schemaDelimiter` property Added missing property `schemaDelimiter` to `DefineOptions` type. Also added comments on schema and schemaDelimiter properties. --- types/sequelize/index.d.ts | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/types/sequelize/index.d.ts b/types/sequelize/index.d.ts index 9c3ca8474e..8c6622c1ab 100644 --- a/types/sequelize/index.d.ts +++ b/types/sequelize/index.d.ts @@ -5233,8 +5233,17 @@ declare namespace sequelize { * `this.constructor.prototype.find.apply(this, arguments)` */ classMethods?: Object; - + + /** + * Change the database schema. PG only feature, but also works with other dialects. + */ schema?: string; + + + /** + * Change the database schema delimiter. Defaults to "." on PG but for other dialects can be also changed to "_". + */ + schemaDelimiter?: string; /** * You can also change the database engine, e.g. to MyISAM. InnoDB is the default.