Last active
April 5, 2020 19:14
-
-
Save ilyaskarim/d13a11e973e7b42fcd9b26367891a096 to your computer and use it in GitHub Desktop.
Wertik Custom Modules - Database options
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let configuration = { | |
modules: [ | |
{ | |
useDatabase: true, // Set false if you are not storing data for this module. | |
database: { | |
sql: { | |
tableName: "YOUR_TABLE_NAME", | |
tableOptions: { | |
// Use Sequelize table options here, Please see https://sequelize.org/v5/manual/models-definition.html | |
// See section: Apart from datatypes, there are plenty of options that you can set on each column. | |
}, | |
fields: { | |
// Use Sequelize table fields here, Please see https://sequelize.org/v5/manual/models-definition.html | |
}, | |
}, | |
}, | |
}, | |
], | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment