Major updates
This commit is contained in:
+1
-8
@@ -174,10 +174,6 @@ const schema: BUN_SQLITE_DatabaseSchemaType = {
|
||||
fieldName: "public_ip_address",
|
||||
dataType: "TEXT",
|
||||
},
|
||||
{
|
||||
fieldName: "private_key",
|
||||
dataType: "TEXT",
|
||||
},
|
||||
{
|
||||
fieldName: "public_key",
|
||||
dataType: "TEXT",
|
||||
@@ -203,10 +199,6 @@ const schema: BUN_SQLITE_DatabaseSchemaType = {
|
||||
fieldName: "wg_ip_address",
|
||||
dataType: "TEXT",
|
||||
},
|
||||
{
|
||||
fieldName: "private_key",
|
||||
dataType: "TEXT",
|
||||
},
|
||||
{
|
||||
fieldName: "public_key",
|
||||
dataType: "TEXT",
|
||||
@@ -238,6 +230,7 @@ const schema: BUN_SQLITE_DatabaseSchemaType = {
|
||||
fieldName: "key",
|
||||
dataType: "TEXT",
|
||||
options: Variables.map((v) => v.value),
|
||||
unique: true,
|
||||
},
|
||||
{
|
||||
fieldName: "value",
|
||||
|
||||
@@ -111,7 +111,6 @@ export type BUN_SQLITE_WGUI_CLIENTS = {
|
||||
name?: string;
|
||||
wg_ip_address?: string;
|
||||
public_ip_address?: string;
|
||||
private_key?: string;
|
||||
public_key?: string;
|
||||
allowed_ips?: string;
|
||||
notes?: string;
|
||||
@@ -132,7 +131,6 @@ export type BUN_SQLITE_WGUI_HOSTS = {
|
||||
updated_at?: number | "";
|
||||
user_id?: number | "";
|
||||
wg_ip_address?: string;
|
||||
private_key?: string;
|
||||
public_key?: string;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user