mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-10-18 21:16:47 +00:00
fac139723e
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.
15 lines
463 B
TypeScript
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>;
|
|
}
|