     created BIGINT DEFAULT now_as_millis(),
     UNIQUE (apikey)
 );
+CREATE INDEX apikeysndvweifu_uid_idx ON apikeysndvweifu USING btree (uid);
 
 
 --CREATE TABLE orgs (

    UNIQUE(uid)
);

-- apikeys api key table
-- the funny name is a bit of security by obscurity in case
-- somehow we end up with a security hole that allows for

    created BIGINT DEFAULT now_as_millis(),
    UNIQUE (zinvite)
);
CREATE INDEX zinvites_zid_idx ON zinvites USING btree (zid);

-- TODO flush regularly
CREATE TABLE password_reset_tokens (
