fix schema.prisma

This commit is contained in:
Ishaan Jaff 2024-06-08 17:39:04 -07:00
parent 4f08ee68e1
commit ae8889f4fa

View file

@ -249,7 +249,8 @@ model LiteLLM_InvitationLink {
model LiteLLM_AuditLog { model LiteLLM_AuditLog {
id String @id @default(uuid()) id String @id @default(uuid())
updated_at DateTime @default(now()) updated_at DateTime @default(now())
changed_by String // user or system that performed the action changed_by String @default("") // user or system that performed the action
changed_by_api_key String @default("") // api key hash that performed the action
action String // create, update, delete action String // create, update, delete
table_name String // on of LitellmTableNames.TEAM_TABLE_NAME, LitellmTableNames.USER_TABLE_NAME, LitellmTableNames.PROXY_MODEL_TABLE_NAME, table_name String // on of LitellmTableNames.TEAM_TABLE_NAME, LitellmTableNames.USER_TABLE_NAME, LitellmTableNames.PROXY_MODEL_TABLE_NAME,
object_id String // id of the object being audited. This can be the key id, team id, user id, model id object_id String // id of the object being audited. This can be the key id, team id, user id, model id