Skip to content

Commit

Permalink
refactor: separate manual vs apikey logic in group service
Browse files Browse the repository at this point in the history
  • Loading branch information
0xjei committed Mar 28, 2024
1 parent 011f7b9 commit a1f1f3d
Show file tree
Hide file tree
Showing 5 changed files with 814 additions and 113 deletions.
2 changes: 2 additions & 0 deletions apps/api/src/app/admins/entities/admin.entity.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,13 @@ import {
Column,
CreateDateColumn,
Entity,
Index,
PrimaryColumn,
UpdateDateColumn
} from "typeorm"

@Entity("admins")
@Index(["apiKey"], { unique: true })
export class Admin {
@PrimaryColumn({ unique: true })
id: string
Expand Down
Loading

0 comments on commit a1f1f3d

Please sign in to comment.