mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-23 10:16:32 -05:00
added model exports in index.ts
Signed-off-by: Philip Molares <philip.molares@udo.edu> Signed-off-by: David Mehren <dmehren1@gmail.com>
This commit is contained in:
parent
91352d0d3c
commit
d278a106e8
1 changed files with 4 additions and 1 deletions
|
@ -16,7 +16,7 @@ dbconfig.logging = config.debug ? (data) => {
|
|||
logger.info(data)
|
||||
} : false
|
||||
|
||||
export let sequelize: any = null;
|
||||
export let sequelize: any;
|
||||
|
||||
// Heroku specific
|
||||
if (config.dbURL) {
|
||||
|
@ -27,3 +27,6 @@ if (config.dbURL) {
|
|||
|
||||
sequelize.addModels([Author, Note, Revision, Temp, User]);
|
||||
|
||||
|
||||
export {Author, Note, Revision, Temp, User};
|
||||
|
||||
|
|
Loading…
Reference in a new issue