OU

Summary

  • Add focused Vitest coverage for the auth template migration SQL.
  • Execute the real migration in an in-memory SQLite database.
  • Cover auth_users username/email constraints, cross-field overlap trigger behavior, and auth_sessions foreign key / unique token constraints.

/claim #71

Verification

  • ./node_modules/.bin/vitest run templates/auth/src/migration.test.ts
  • ./node_modules/.bin/prettier –check templates/auth/src/migration.test.ts
  • git diff –check

Note: full repository typecheck/full test suite still has existing unrelated failures in current main (RLS expectations / TS errors outside this file).

Claim

Total prize pool $250
Total paid $0
Status Pending
Submitted May 27, 2026
Last updated May 27, 2026

Contributors

KP

kpassito

@kpassito

100%

Sponsors

OU

Outerbase (YC W23)

@outerbase

$250