Files
TREK/server/src/db/kysely/UserSessions.table.ts
T
Maurice fac139723e build(db): generate the Kysely types for the lease and session tables
Both tables arrived in migrations written before the generator existed,
so src/db/kysely/ did not describe them and check:db-types would fail.
Regenerated with gen:db-types.
2026-10-08 19:05:03 +02:00

15 lines
463 B
TypeScript

// Generated by scripts/generate-db-types.ts from the migrated schema. Do not edit by hand:
// change the migration, then run `npm run gen:db-types`.
import type { InsertOptional } from './columns';
export interface UserSessionsTable {
id: string;
user_id: number;
created_at: InsertOptional<string>;
last_seen_at: InsertOptional<string>;
expires_at: string;
revoked_at: InsertOptional<string | null>;
user_agent: InsertOptional<string | null>;
}