parent
588d6acfb7
commit
e1eee2872d
5 changed files with 58 additions and 2 deletions
|
|
@ -19,6 +19,13 @@ export class MiNote {
|
|||
})
|
||||
public updatedAt: Date | null;
|
||||
|
||||
@Column('varchar', {
|
||||
length: 3000,
|
||||
array: true,
|
||||
default: '{}',
|
||||
})
|
||||
public noteEditHistory: string[];
|
||||
|
||||
@Index()
|
||||
@Column({
|
||||
...id(),
|
||||
|
|
|
|||
|
|
@ -22,6 +22,10 @@ export const packedNoteSchema = {
|
|||
optional: true, nullable: true,
|
||||
format: 'date-time',
|
||||
},
|
||||
noteEditHistory: {
|
||||
type: 'array',
|
||||
optional: true, nullable: false,
|
||||
},
|
||||
deletedAt: {
|
||||
type: 'string',
|
||||
optional: true, nullable: true,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue