refactor: prefix Mi for all entities (misskey-dev#11719) (MisskeyIO#160)
cheery-pick from misskey-dev@792622aeadf3e36d50cddec3c64b2ff0105ea927
This commit is contained in:
parent
651905e08f
commit
58bbff3738
234 changed files with 2061 additions and 2061 deletions
|
|
@ -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', {
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue