1
0

Distinguish sqlite DB for Mindflow as well.

This commit is contained in:
Alexander Andreev 2023-05-14 03:39:16 +04:00
parent f12ce11b7f
commit 5b4cc67fda
Signed by: Arav
GPG Key ID: D22A817D95815393

View File

@ -13,7 +13,7 @@ import (
"time"
"git.arav.su/Arav/dwelling-home/internal/http"
"git.arav.su/Arav/dwelling-home/pkg/mindflow/database/sqlite"
mfsqlite "git.arav.su/Arav/dwelling-home/pkg/mindflow/database/sqlite"
gbsqlite "git.arav.su/Arav/justguestbook/database/sqlite"
)
@ -93,7 +93,7 @@ func main() {
srv.PATCH("/api/guestbook/:id/reply", guestbookApi.EditReply)
srv.DELETE("/api/guestbook/:id/reply", guestbookApi.DeleteReply)
mindflowDB, err := sqlite.NewSQLiteMindflow(path.Join(*databasesPath, "mindflow.sqlite"))
mindflowDB, err := mfsqlite.NewSQLiteMindflow(path.Join(*databasesPath, "mindflow.sqlite"))
if err != nil {
log.Fatalln(err)
}