This commit is contained in:
syuilo 2023-08-15 17:38:39 +09:00
parent fd8d9f322c
commit 77e4feb507
66 changed files with 66 additions and 66 deletions

View file

@ -7,7 +7,7 @@ import { Entity, Column, Index, OneToOne, JoinColumn, PrimaryColumn } from 'type
import { id } from '../id.js';
import { MiDriveFile } from './DriveFile.js';
@Entity()
@Entity('user')
@Index(['usernameLower', 'host'], { unique: true })
export class MiUser {
@PrimaryColumn(id())