feat: add API key scopes and application_connect scope (#4067)

This commit is contained in:
Dean Sheather
2022-09-20 03:39:02 +10:00
committed by GitHub
parent adad347902
commit 29d804e692
42 changed files with 476 additions and 88 deletions

View File

@ -9,7 +9,7 @@ import (
"path/filepath"
"runtime"
"github.com/coder/coder/coderd/database"
"github.com/coder/coder/coderd/database/migrations"
"github.com/coder/coder/coderd/database/postgres"
)
@ -25,7 +25,7 @@ func main() {
panic(err)
}
err = database.MigrateUp(db)
err = migrations.Up(db)
if err != nil {
panic(err)
}