Skip to content
Snippets Groups Projects
Commit 44859e07 authored by Ronnie Friman's avatar Ronnie Friman
Browse files

added orderBy

parent 84eb470f
No related branches found
No related tags found
3 merge requests!59Development to master,!31Development,!28Group fix
...@@ -46,7 +46,11 @@ export class GameEntity { ...@@ -46,7 +46,11 @@ export class GameEntity {
} }
// table that stores players associated with particular game // table that stores players associated with particular game
@Entity('Game_Person') @Entity('Game_Person', {
orderBy: {
person: 'ASC',
},
})
export class Game_PersonEntity { export class Game_PersonEntity {
@PrimaryGeneratedColumn('uuid') gamepersonId: string; @PrimaryGeneratedColumn('uuid') gamepersonId: string;
@Column({ type: 'text', nullable: true }) role: string; @Column({ type: 'text', nullable: true }) role: string;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment