mirror of
https://github.com/geekgeekrun/geekgeekrun.git
synced 2026-06-09 01:20:04 +08:00
add union index for LlmModelUsageRecord
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
import { requireTypeorm } from "../utils/module-loader";
|
||||
const { Entity, PrimaryGeneratedColumn, Column } = requireTypeorm()
|
||||
const { Entity, PrimaryGeneratedColumn, Column, Index } = requireTypeorm()
|
||||
|
||||
@Entity()
|
||||
@Index(["providerCompleteApiUrl", "model", "providerApiSecretMd5"])
|
||||
export class LlmModelUsageRecord {
|
||||
@PrimaryGeneratedColumn()
|
||||
id: number;
|
||||
|
||||
Reference in New Issue
Block a user