mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-30 10:28:42 +00:00
perf: txt
This commit is contained in:
@@ -102,4 +102,4 @@ try {
|
||||
console.log(error);
|
||||
}
|
||||
|
||||
export const App: Model<AppType> = models['app'] || model('app', AppSchema);
|
||||
export const App: Model<AppType> = models['model'] || model('model', AppSchema);
|
||||
|
@@ -14,7 +14,7 @@ const BillSchema = new Schema({
|
||||
},
|
||||
appId: {
|
||||
type: Schema.Types.ObjectId,
|
||||
ref: 'app',
|
||||
ref: 'model',
|
||||
required: false
|
||||
},
|
||||
time: {
|
||||
|
@@ -10,7 +10,7 @@ const ChatSchema = new Schema({
|
||||
},
|
||||
appId: {
|
||||
type: Schema.Types.ObjectId,
|
||||
ref: 'app',
|
||||
ref: 'model',
|
||||
required: true
|
||||
},
|
||||
updateTime: {
|
||||
|
Reference in New Issue
Block a user