8000 fix: do not query user_link for deleted accounts by Emyrk · Pull Request #12112 · coder/coder · GitHub
[go: up one dir, main page]

Skip to content

fix: do not query user_link for deleted accounts #12112

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 15 commits into from
Feb 13, 2024
Prev Previous commit
Next Next commit
accidental file change
  • Loading branch information
Emyrk committed Feb 13, 2024
commit 90e7164c2f0d630081b4404a5bbaaac66a4bcb52
2 changes: 1 addition & 1 deletion coderd/database/migrations/migrate_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ func TestMigrateUpWithFixtures(t *testing.T) {

for _, table := range tables {
var count int
err = db.QueryRowContext(ctx, "SELECT COUNT(*) FROM"+table).Scan(&count)
err = db.QueryRowContext(ctx, "SELECT COUNT(*) FROM "+table).Scan(&count)
require.NoError(t, err)

if tt.useStats {
Expand Down
0