diff options
| author | Max Isom <[email protected]> | 2021-11-28 19:42:32 -0500 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-11-28 19:42:32 -0500 |
| commit | 9afca25866830dacc668b1861bab5c12260de639 (patch) | |
| tree | 282a853f37e21af72d355c38a8acca480011d82b /src/utils | |
| parent | f146a2a57c83aa37b4601cf093acb1cfa700a41e (diff) | |
| parent | 9f9469f682e68c45d2c20251bfa5726e7c415b80 (diff) | |
| download | muse-9afca25866830dacc668b1861bab5c12260de639.tar.xz muse-9afca25866830dacc668b1861bab5c12260de639.zip | |
Merge pull request #415 from codetheweb/feature/better-file-caching
Diffstat (limited to 'src/utils')
| -rw-r--r-- | src/utils/db.ts | 4 |
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, }); |
