fix: improve plugins functionality with server management
This commit is contained in:
19
electron/entities/RoomOwnerEntity.ts
Normal file
19
electron/entities/RoomOwnerEntity.ts
Normal file
@@ -0,0 +1,19 @@
|
||||
import {
|
||||
Column,
|
||||
Entity,
|
||||
Index,
|
||||
PrimaryColumn
|
||||
} from 'typeorm';
|
||||
|
||||
@Entity('room_owners')
|
||||
export class RoomOwnerEntity {
|
||||
@PrimaryColumn('text')
|
||||
roomId!: string;
|
||||
|
||||
@PrimaryColumn('text')
|
||||
@Index()
|
||||
userId!: string;
|
||||
|
||||
@Column('integer')
|
||||
savedAt!: number;
|
||||
}
|
||||
Reference in New Issue
Block a user