mirror of
https://github.com/fosrl/pangolin.git
synced 2025-08-03 09:34:48 +02:00
newts not being on when olm is started
This commit is contained in:
parent
b7ae712b63
commit
569635f3ed
7 changed files with 150 additions and 35 deletions
|
@ -157,7 +157,7 @@ export const clients = sqliteTable("clients", {
|
|||
type: text("type").notNull(), // "olm"
|
||||
online: integer("online", { mode: "boolean" }).notNull().default(false),
|
||||
endpoint: text("endpoint"),
|
||||
lastHolePunch: integer("lastHolePunch"),
|
||||
lastHolePunch: integer("lastHolePunch")
|
||||
});
|
||||
|
||||
export const clientSites = sqliteTable("clientSites", {
|
||||
|
@ -167,6 +167,7 @@ export const clientSites = sqliteTable("clientSites", {
|
|||
siteId: integer("siteId")
|
||||
.notNull()
|
||||
.references(() => sites.siteId, { onDelete: "cascade" }),
|
||||
isRelayed: integer("isRelayed", { mode: "boolean" }).notNull().default(false)
|
||||
});
|
||||
|
||||
export const olms = sqliteTable("olms", {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue