Options
All
  • Public
  • Public/Protected
  • All
Menu

Sync Options

see

Sequelize.sync

Hierarchy

  • SyncOptions

Index

Properties

Properties

Optional force

force: boolean

If force is true, each DAO will do DROP TABLE IF EXISTS ..., before it tries to create its own table

Optional logging

logging: Function | boolean

A function that logs sql queries, or false for no logging

Optional match

match: RegExp

Match a regex against the database name before syncing, a safety check for cases where force: true is used in tests but not live code

Optional schema

schema: string

The schema that the tables should be created in. This can be overriden for each table in sequelize.define

Generated using TypeDoc