mirror of
https://github.com/BluemediaDev/muse.git
synced 2025-06-07 21:33:14 +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,9 +1,9 @@
|
|||
import Cache from './cache.js';
|
||||
import KeyValueCache from './key-value-cache.js';
|
||||
import Settings from './settings.js';
|
||||
import Shortcut from './shortcut.js';
|
||||
|
||||
export {
|
||||
Cache,
|
||||
KeyValueCache,
|
||||
Settings,
|
||||
Shortcut,
|
||||
};
|
||||
|
|
|
@ -2,7 +2,7 @@ import {Table, Column, PrimaryKey, Model} from 'sequelize-typescript';
|
|||
import sequelize from 'sequelize';
|
||||
|
||||
@Table
|
||||
export default class Cache extends Model<Cache> {
|
||||
export default class KeyValueCache extends Model<KeyValueCache> {
|
||||
@PrimaryKey
|
||||
@Column
|
||||
key!: string;
|
Loading…
Add table
Add a link
Reference in a new issue