mirror of
https://github.com/BluemediaDev/muse.git
synced 2025-05-11 12:21:37 +02:00
Rename existing cache model
This commit is contained in:
parent
381ee62b78
commit
d805da906a
4 changed files with 8 additions and 8 deletions
|
@ -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,
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue