aboutsummaryrefslogtreecommitdiff
path: root/src/utils
diff options
context:
space:
mode:
authorMax Isom <[email protected]>2021-12-12 13:00:05 -0500
committerMax Isom <[email protected]>2021-12-12 13:00:05 -0500
commitf1756b9e9c1b7feef0ce10dd049bb78df6e51194 (patch)
tree3b358a93e387ebc847a3a7036552883866bf11a6 /src/utils
parentf833b3b7569b3151963cfcede76d73533f716f0f (diff)
parent9afca25866830dacc668b1861bab5c12260de639 (diff)
downloadmuse-f1756b9e9c1b7feef0ce10dd049bb78df6e51194.tar.xz
muse-f1756b9e9c1b7feef0ce10dd049bb78df6e51194.zip
Merge branch 'master' into play-behavior-fix-gpg
Diffstat (limited to 'src/utils')
-rw-r--r--src/utils/db.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utils/db.ts b/src/utils/db.ts
index be42013..15a2d79 100644
--- a/src/utils/db.ts
+++ b/src/utils/db.ts
@@ -1,12 +1,12 @@
import {Sequelize} from 'sequelize-typescript';
import path from 'path';
import {DATA_DIR} from '../services/config.js';
-import {Cache, Settings, Shortcut} from '../models/index.js';
+import {FileCache, KeyValueCache, Settings, Shortcut} from '../models/index.js';
export const sequelize = new Sequelize({
dialect: 'sqlite',
database: 'muse',
storage: path.join(DATA_DIR, 'db.sqlite'),
- models: [Cache, Settings, Shortcut],
+ models: [FileCache, KeyValueCache, Settings, Shortcut],
logging: false,
});