refactor: prefix Mi for all entities (misskey-dev#11719) (MisskeyIO#160)

cheery-pick from misskey-dev@792622aeadf3e36d50cddec3c64b2ff0105ea927
This commit is contained in:
まっちゃとーにゅ
2023-08-26 08:42:29 +09:00
committed by GitHub
parent 651905e08f
commit 58bbff3738
234 changed files with 2061 additions and 2061 deletions

View File

@@ -5,10 +5,10 @@
import { Entity, Column, PrimaryColumn, ManyToOne, JoinColumn } from 'typeorm';
import { id } from '../id.js';
import { User } from './User.js';
import { MiUser } from './User.js';
@Entity()
export class Meta {
@Entity('meta')
export class MiMeta {
@PrimaryColumn({
type: 'varchar',
length: 32,
@@ -139,13 +139,13 @@ export class Meta {
...id(),
nullable: true,
})
public proxyAccountId: User['id'] | null;
public proxyAccountId: MiUser['id'] | null;
@ManyToOne(type => User, {
@ManyToOne(type => MiUser, {
onDelete: 'SET NULL',
})
@JoinColumn()
public proxyAccount: User | null;
public proxyAccount: MiUser | null;
@Column('boolean', {
default: false,