add new database table workspace

This commit is contained in:
Adrian Zürcher
2026-02-14 14:47:41 +01:00
parent 206639cf72
commit 1f4f9a12aa
4 changed files with 179 additions and 8 deletions

View File

@@ -82,6 +82,14 @@ func NewAccessHandler(path string, logger *logging.Logger) (aH *AccessHandler, e
return
}
logger.Debug("NewAccessHandler", "add workspace table")
// Add the role table to the database
err = aH.AddWorkspaceTable()
if err != nil {
aH.logger.Error("NewAccessHandler", err)
return
}
//indicator that user database was created
aH.NewDBCreated = aH.dbHandler.NewCreatedDB