-- +goose Up
ALTER TABLE users ADD COLUMN api_key VARCHAR(64);

-- Sqlite doesn't allow adding a column with a default value that uses a function :(
-- CONSTRAINT DEFAULT ( lower(hex(randomblob(256))) )
-- CONSTRAINT NOT NULL;
-- CONSTRAINT UNIQUE;

-- +goose Down
ALTER TABLE users DROP COLUMN api_key;
