upd
This commit is contained in:
@@ -4,6 +4,7 @@ import {
|
||||
uuid,
|
||||
varchar,
|
||||
uniqueIndex,
|
||||
integer,
|
||||
} from "drizzle-orm/pg-core";
|
||||
import { companiesTable } from "./companies";
|
||||
import { usersTable } from "./users";
|
||||
@@ -22,6 +23,7 @@ export const sessionsTable = pgTable(
|
||||
})
|
||||
.notNull()
|
||||
.default("starting"),
|
||||
pid: integer("pid"),
|
||||
appId: uuid("app_id")
|
||||
.notNull()
|
||||
.references(() => appsTable.id),
|
||||
|
||||
Reference in New Issue
Block a user