feat: add isAdmin column to token entity; implement migration for isAdmin; enhance logging and error handling in query execution; update query plugin to support new logging structure
This commit is contained in:
@ -9,7 +9,13 @@ export class Log {
|
||||
@Column({ type: "varchar", length: 255 })
|
||||
traceId: string;
|
||||
|
||||
@Column({ type: "longtext" })
|
||||
@Column({
|
||||
type: "longtext",
|
||||
transformer: {
|
||||
to: (value: TLog) => JSON.stringify(value),
|
||||
from: (value: string) => JSON.parse(value) as TLog,
|
||||
},
|
||||
})
|
||||
content: TLog;
|
||||
|
||||
@Column({ type: "timestamp", default: () => "CURRENT_TIMESTAMP" })
|
||||
|
||||
Reference in New Issue
Block a user