summaryrefslogtreecommitdiff
path: root/packages/backend/src/models
diff options
context:
space:
mode:
Diffstat (limited to 'packages/backend/src/models')
-rw-r--r--packages/backend/src/models/Note.ts5
-rw-r--r--packages/backend/src/models/NoteReaction.ts1
2 files changed, 0 insertions, 6 deletions
diff --git a/packages/backend/src/models/Note.ts b/packages/backend/src/models/Note.ts
index 0d2422c4f3..3e2adf4d82 100644
--- a/packages/backend/src/models/Note.ts
+++ b/packages/backend/src/models/Note.ts
@@ -138,11 +138,6 @@ export class MiNote {
})
public url: string | null;
- @Column('integer', {
- default: 0, select: false,
- })
- public score: number;
-
@Index()
@Column({
...id(),
diff --git a/packages/backend/src/models/NoteReaction.ts b/packages/backend/src/models/NoteReaction.ts
index 7c08d31c6d..43323f8a43 100644
--- a/packages/backend/src/models/NoteReaction.ts
+++ b/packages/backend/src/models/NoteReaction.ts
@@ -14,7 +14,6 @@ export class MiNoteReaction {
@PrimaryColumn(id())
public id: string;
- @Index()
@Column('timestamp with time zone', {
comment: 'The created date of the NoteReaction.',
})