HomePhabricator
Diffusion Comm 97d33c8d6792

Add table for keyserver olm accounts

Description

Add table for keyserver olm accounts

Summary: This differential adds new table to MariaDB database on the keyserver to store both primary and notifications olm accounts.

Test Plan:
To test migrations-config.js restart your keyserver terminal. Ensure DB version: 32 log line is visible.
To test setup-db.js create new database and update secrets folder so that it points to new database instance. Start your keyserver.

In both cases using a database connection tool of choice (I prefer to use mariadb terminal command), ensure keyserver_olm_accounts table is present and its structure matches SQL statement used to create it.

Reviewers: tomek, bartek, atul, inka, jon, ashoat

Reviewed By: ashoat

Subscribers: ashoat

Differential Revision: https://phab.comm.dev/D7560

Details

Provenance
marcinAuthored on Apr 21 2023, 4:19 AM
Reviewer
ashoat
Differential Revision
D7560: Add table for keyserver olm accounts
Parents
rCOMM0de3aaccc6a0: Add table to store olm notifications sessions
Branches
Unknown
Tags
Unknown