fix
This commit is contained in:
parent
e1eee2872d
commit
23508dc56e
7 changed files with 118 additions and 42 deletions
|
|
@ -19,6 +19,12 @@ export class MiNote {
|
|||
})
|
||||
public updatedAt: Date | null;
|
||||
|
||||
@Column('timestamp with time zone', {
|
||||
array: true,
|
||||
default: null,
|
||||
})
|
||||
public updatedAtHistory: Date[] | null;
|
||||
|
||||
@Column('varchar', {
|
||||
length: 3000,
|
||||
array: true,
|
||||
|
|
|
|||
|
|
@ -22,6 +22,15 @@ export const packedNoteSchema = {
|
|||
optional: true, nullable: true,
|
||||
format: 'date-time',
|
||||
},
|
||||
updatedAtHistory: {
|
||||
type: 'array',
|
||||
optional: true, nullable: true,
|
||||
items: {
|
||||
type: 'string',
|
||||
optional: false, nullable: false,
|
||||
format: 'date-time',
|
||||
},
|
||||
},
|
||||
noteEditHistory: {
|
||||
type: 'array',
|
||||
optional: true, nullable: false,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue