Skip to content

Commit cc2b0f6

Browse files
committed
chore: add index to last signed in
1 parent 7573b9c commit cc2b0f6

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

src/type-sense/type-sense.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ export class TypeSenseService {
6262
{ name: "teams", type: "string[]", optional: true },
6363
{ name: "elo", type: "int32", optional: true },
6464
{ name: "role", type: "string", optional: true },
65-
{ name: "last_sign_in_at", type: "string", optional: true },
65+
{ name: "last_sign_in_at", type: "string", symbols_to_index: ["~"] },
6666
];
6767

6868
const exists = await this.client.collections("players").exists();

src/types/pg-cursor.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,4 @@ declare module "pg-cursor" {
1616
const Cursor: CursorConstructor;
1717
export = Cursor;
1818
}
19+

0 commit comments

Comments
 (0)