temp
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import { sequelize } from '../modules/sequelize.ts';
|
||||
import { initUser } from '../scripts/common.ts';
|
||||
import '../scripts/common-redis.ts';
|
||||
import { useContextKey } from '@kevisual/use-config/context';
|
||||
import { useContextKey } from '@kevisual/context';
|
||||
|
||||
export const main = async () => {
|
||||
const models = await initUser();
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { useContextKey } from '@kevisual/use-config/context';
|
||||
import { useContextKey } from '@kevisual/context';
|
||||
import { sequelize } from '../modules/sequelize.ts';
|
||||
import { MarkModel, syncMarkModel } from '../routes/mark/model.ts';
|
||||
export const sequelize2 = useContextKey('sequelize', () => sequelize);
|
||||
|
||||
Reference in New Issue
Block a user