7 lines
225 B
SQL
7 lines
225 B
SQL
CREATE TABLE IF NOT EXISTS auth_code (
|
|
id uuid PRIMARY KEY,
|
|
email text NOT NULL UNIQUE,
|
|
code text NOT NULL,
|
|
created_at timestamp NOT NULL,
|
|
failed_attempts integer DEFAULT 0
|
|
);
|