Skip to content

Commit b827d49

Browse files
committed
fix: rating table type fix
1 parent 88ecfd9 commit b827d49

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed
Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
1+
import type { Generated } from 'kysely';
2+
13
export interface ControllerRatingsTable {
2-
id: number;
4+
id: Generated<number>;
35
controller_id: string;
46
pilot_id: string;
57
rating: number;
68
flight_id: string | null;
7-
created_at: Date;
8-
}
9+
created_at: Generated<Date>;
10+
}

0 commit comments

Comments
 (0)