mirror of
https://github.com/fosrl/pangolin.git
synced 2026-04-29 04:09:42 +00:00
Add remote subnets back based on resources
This commit is contained in:
parent
cad4d97fb3
commit
f98b4baa73
4 changed files with 55 additions and 8 deletions
|
|
@ -93,8 +93,7 @@ export const sites = sqliteTable("sites", {
|
|||
listenPort: integer("listenPort"),
|
||||
dockerSocketEnabled: integer("dockerSocketEnabled", { mode: "boolean" })
|
||||
.notNull()
|
||||
.default(true),
|
||||
remoteSubnets: text("remoteSubnets") // comma-separated list of subnets that this site can access
|
||||
.default(true)
|
||||
});
|
||||
|
||||
export const resources = sqliteTable("resources", {
|
||||
|
|
@ -359,7 +358,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", {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue