diff --git a/src/game/game.entity.ts b/src/game/game.entity.ts index b1a9d3855bf68c2e51ec1f72d4f50279206f2fe2..b58066590357070155b28bbd046083454527b8e6 100644 --- a/src/game/game.entity.ts +++ b/src/game/game.entity.ts @@ -46,7 +46,11 @@ export class GameEntity { } // table that stores players associated with particular game -@Entity('Game_Person') +@Entity('Game_Person', { + orderBy: { + person: 'ASC', + }, +}) export class Game_PersonEntity { @PrimaryGeneratedColumn('uuid') gamepersonId: string; @Column({ type: 'text', nullable: true }) role: string;