summaryrefslogtreecommitdiff
path: root/src/models/entities/user-list.ts
diff options
context:
space:
mode:
authorsyuilo <Syuilotan@yahoo.co.jp>2021-11-12 02:02:25 +0900
committersyuilo <Syuilotan@yahoo.co.jp>2021-11-12 02:02:25 +0900
commit0e4a111f81cceed275d9bec2695f6e401fb654d8 (patch)
tree40874799472fa07416f17b50a398ac33b7771905 /src/models/entities/user-list.ts
parentupdate deps (diff)
downloadmisskey-0e4a111f81cceed275d9bec2695f6e401fb654d8.tar.gz
misskey-0e4a111f81cceed275d9bec2695f6e401fb654d8.tar.bz2
misskey-0e4a111f81cceed275d9bec2695f6e401fb654d8.zip
refactoring
Resolve #7779
Diffstat (limited to 'src/models/entities/user-list.ts')
-rw-r--r--src/models/entities/user-list.ts33
1 files changed, 0 insertions, 33 deletions
diff --git a/src/models/entities/user-list.ts b/src/models/entities/user-list.ts
deleted file mode 100644
index 35a83ef8c3..0000000000
--- a/src/models/entities/user-list.ts
+++ /dev/null
@@ -1,33 +0,0 @@
-import { PrimaryColumn, Entity, Index, JoinColumn, Column, ManyToOne } from 'typeorm';
-import { User } from './user';
-import { id } from '../id';
-
-@Entity()
-export class UserList {
- @PrimaryColumn(id())
- public id: string;
-
- @Column('timestamp with time zone', {
- comment: 'The created date of the UserList.'
- })
- public createdAt: Date;
-
- @Index()
- @Column({
- ...id(),
- comment: 'The owner ID.'
- })
- public userId: User['id'];
-
- @ManyToOne(type => User, {
- onDelete: 'CASCADE'
- })
- @JoinColumn()
- public user: User | null;
-
- @Column('varchar', {
- length: 128,
- comment: 'The name of the UserList.'
- })
- public name: string;
-}