revert: note editing

This commit is contained in:
syuilo
2023-10-04 12:05:01 +09:00
parent cc4fd6b5c5
commit b40329887f
23 changed files with 19 additions and 174 deletions

View File

@@ -24,11 +24,6 @@ export class MiNote {
})
public createdAt: Date;
@Column('timestamp with time zone', {
default: null,
})
public updatedAt: Date | null;
@Index()
@Column({
...id(),

View File

@@ -17,11 +17,6 @@ export const packedNoteSchema = {
optional: false, nullable: false,
format: 'date-time',
},
updatedAt: {
type: 'string',
optional: true, nullable: true,
format: 'date-time',
},
deletedAt: {
type: 'string',
optional: true, nullable: true,