Skip to content

postgrelize / TableOptions

Type Alias: TableOptions ​

TableOptions = Omit<InitOptions, "sequelize">

Defined in: src/decorators/model-metadata.ts:20

Table options of @Table: the Model.init options without the sequelize instance.

Example ​

ts
const options: TableOptions = { tableName: 'users', schema: 'app', paranoid: true, timestamps: true };

Released under the MIT License.