diff options
| author | Max Isom <[email protected]> | 2021-11-18 20:50:44 -0500 |
|---|---|---|
| committer | Max Isom <[email protected]> | 2021-11-18 20:50:44 -0500 |
| commit | d805da906a1744c23e0b484b522b078102675770 (patch) | |
| tree | 62f38c15383e13fa3b868ce47c3ce56344b345f6 /src/utils | |
| parent | 381ee62b780f546b5c7652741bbeb9a36add2939 (diff) | |
| download | muse-d805da906a1744c23e0b484b522b078102675770.tar.xz muse-d805da906a1744c23e0b484b522b078102675770.zip | |
Rename existing cache model
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..f7d4fff 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 {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: [KeyValueCache, Settings, Shortcut], logging: false, }); |
