Page MenuHomePhabricator

[keyserver] Introduce assertValidDBType
ClosedPublic

Authored by ashoat on Aug 15 2022, 12:37 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Jul 6, 12:37 PM
Unknown Object (File)
Sat, Jul 6, 12:37 PM
Unknown Object (File)
Sat, Jul 6, 12:37 PM
Unknown Object (File)
Thu, Jul 4, 2:12 PM
Unknown Object (File)
Tue, Jul 2, 8:55 AM
Unknown Object (File)
Tue, Jul 2, 7:46 AM
Unknown Object (File)
Mon, Jul 1, 6:41 PM
Unknown Object (File)
Mon, Jul 1, 12:14 AM

Details

Summary

This diff is a simple refactor, and should be a no-op. In the next diff I'll modify assertValidDBType to deprecate MySQL.

Test Plan
  1. Flow
  2. I ran keyserver locally and made sure things generally still worked

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

This revision is now accepted and ready to land.Aug 16 2022, 5:34 AM

(Technically this isn't a pure refactor... if anybody had a bad DBType (neither 'mariadb10.8' nor 'mysql5.7') in their DB config previously, it previously would've defaulted to 'mysql5.7', but now will error. I think this is a good thing.)

This revision was automatically updated to reflect the committed changes.