Skip to content

Commit

Permalink
Fixed upgrade process
Browse files Browse the repository at this point in the history
  • Loading branch information
Forceu committed Dec 8, 2024
1 parent 1e43148 commit 5a2c097
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/configuration/database/provider/sqlite/Sqlite.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ type legacySchemaApiKeys struct {
func (p DatabaseProvider) getLegacyApiKeys() map[string]models.ApiKey {
result := make(map[string]models.ApiKey)

rows, err := p.sqliteDb.Query("SELECT * FROM ApiKeys")
rows, err := p.sqliteDb.Query("SELECT Id,FriendlyName,LastUsed,Permissions FROM ApiKeys")
helper.Check(err)
defer rows.Close()
for rows.Next() {
Expand Down

0 comments on commit 5a2c097

Please sign in to comment.