From 97daa346bcc31516c6b7c1e2ef168a7da1090fbb Mon Sep 17 00:00:00 2001
From: Azpect3120 <104033825+Azpect3120@users.noreply.github.com>
Date: Tue, 3 Sep 2024 20:07:30 -0700
Subject: [PATCH] FIX: Creation modal update
---
internal/database/create.go | 3 +++
web/templates/index.html | 3 +++
2 files changed, 6 insertions(+)
diff --git a/internal/database/create.go b/internal/database/create.go
index fc4836e..f0d5994 100644
--- a/internal/database/create.go
+++ b/internal/database/create.go
@@ -65,5 +65,8 @@ func CreateConnection(c *gin.Context) {
session.Save()
html := templates.ConnectionsList(connections, name)
+ html += TableTree(c)
+ html += EnumTree(c)
+
c.String(200, html)
}
diff --git a/web/templates/index.html b/web/templates/index.html
index 666f068..f091e64 100644
--- a/web/templates/index.html
+++ b/web/templates/index.html
@@ -228,6 +228,9 @@
The connection URL will be automatically generated based on the above fields. To view the URL
generated,
push the "display secret details" button in the password section.
+
+ When using SQLite, simply enter the file path to the database file on your system in the
+ "Database Name" section.