score-the-pigs/resources/migrations/20240331175244-create-auth-code.up.sql

8 lines
225 B
MySQL
Raw Normal View History

2025-03-11 23:42:37 +00:00
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
);