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 c751ccff42b1b6c9dea52fa6ab069f88e8643b1a
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