summaryrefslogtreecommitdiff
path: root/packages/backend/src/models/Note.ts
diff options
context:
space:
mode:
authorMar0xy <marie@kaifa.ch>2023-10-13 19:01:17 +0200
committerMar0xy <marie@kaifa.ch>2023-10-13 19:01:17 +0200
commitf8f128b3477e14dc224c7c454f63379ac4c828dd (patch)
tree1ac7ae77a43beb4d2830e61762eb7482e12a6019 /packages/backend/src/models/Note.ts
parentmerge: timeline 1 (diff)
parentenhance(frontend): TLの返信表示オプションを記憶するように (diff)
downloadsharkey-f8f128b3477e14dc224c7c454f63379ac4c828dd.tar.gz
sharkey-f8f128b3477e14dc224c7c454f63379ac4c828dd.tar.bz2
sharkey-f8f128b3477e14dc224c7c454f63379ac4c828dd.zip
merge: all upstream changes
Diffstat (limited to 'packages/backend/src/models/Note.ts')
-rw-r--r--packages/backend/src/models/Note.ts7
1 files changed, 0 insertions, 7 deletions
diff --git a/packages/backend/src/models/Note.ts b/packages/backend/src/models/Note.ts
index 4d2a045033..0d11eb6cf2 100644
--- a/packages/backend/src/models/Note.ts
+++ b/packages/backend/src/models/Note.ts
@@ -18,7 +18,6 @@ export class MiNote {
@PrimaryColumn(id())
public id: string;
- @Index()
@Column('timestamp with time zone', {
comment: 'The created date of the Note.',
})
@@ -145,11 +144,6 @@ export class MiNote {
})
public url: string | null;
- @Column('integer', {
- default: 0, select: false,
- })
- public score: number;
-
@Index()
@Column({
...id(),
@@ -157,7 +151,6 @@ export class MiNote {
})
public fileIds: MiDriveFile['id'][];
- @Index()
@Column('varchar', {
length: 256, array: true, default: '{}',
})