| Safe Haskell | None |
|---|---|
| Language | GHC2021 |
Test.Migration.MeetingLinks
Description
WPB-29361: the one-off meeting join-code backfill migration gives every
meeting without a live join code one (without touching existing codes), so
that every meeting can render its mandatory link.
Synopsis
- backfillSql :: String
- testMeetingJoinCodeBackfill :: HasCallStack => App ()
- fetchLink :: HasCallStack => Value -> String -> App String
- findMeetingById :: HasCallStack => String -> [Value] -> App (Maybe Value)
- meetingJoinCodeKey :: HasCallStack => String -> String
Documentation
backfillSql :: String Source #
Mirror of libswire-subsystemspostgres-migrations/20261019090000-meeting-join-code-backfill.sql; the integration image has no repo checkout, so the statement is duplicated here.
testMeetingJoinCodeBackfill :: HasCallStack => App () Source #
fetchLink :: HasCallStack => Value -> String -> App String Source #
List the owner's meetings and return the link of the given meeting.
findMeetingById :: HasCallStack => String -> [Value] -> App (Maybe Value) Source #
meetingJoinCodeKey :: HasCallStack => String -> String Source #
The deterministic meeting join-code key, mirroring
mkKeyId (base64url of the first 15 bytes of
SHA256("meeting:" <> meetingId)).