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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
234 changed files with 2061 additions and 2061 deletions

View file

@ -5,10 +5,10 @@
import { Entity, PrimaryColumn, Index, Column } from 'typeorm';
import { id } from '../id.js';
import type { User } from './User.js';
import type { MiUser } from './User.js';
@Entity()
export class RetentionAggregation {
@Entity('retention_aggregation')
export class MiRetentionAggregation {
@PrimaryColumn(id())
public id: string;
@ -33,7 +33,7 @@ export class RetentionAggregation {
...id(),
array: true,
})
public userIds: User['id'][];
public userIds: MiUser['id'][];
@Column('integer', {
})