drop table vapid_signing_key;

create table vapid_signing_key (
    key text
        not null
);

create unique index vapid_signing_key_singleton
    on vapid_signing_key (0);

-- Whatever key we had, if any, was just destroyed by dropping the table. Delete the metadata
-- as well so that the server will issue a new one.
delete
from
    vapid_key;
