moved the project to this repository
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
-- +goose Up
|
||||
ALTER TABLE users ADD api_key VARCHAR(64) NOT NULL DEFAULT encode(sha256(random()::text::bytea), 'hex') UNIQUE;
|
||||
|
||||
-- +goose Down
|
||||
ALTER TABLE users DROP COLUMN api_key;
|
||||
Reference in New Issue
Block a user