-- migrate:up -- What the app has actually put on the Linka Go restriction list. -- -- The platform offers no way to read that list back, so the only honest record -- of it is the one kept here: each tick compares the addresses that *should* be -- allowed right now against this table, and calls the api for the difference. -- A row is written only once the call has succeeded, so a failed call is simply -- retried at the next tick. CREATE TABLE linka_whitelist ( email text PRIMARY KEY, added_at timestamptz NOT NULL DEFAULT now() ); -- migrate:down DROP TABLE linka_whitelist;