Files
icarus_auth/migrations/20250402221858_init_migrate.sql
phoenix 5e46a163dc
Some checks failed
Rust Build / Check (pull_request) Failing after 1m11s
Rust Build / Test Suite (pull_request) Failing after 1m27s
Rust Build / Rustfmt (pull_request) Successful in 31s
Rust Build / Clippy (pull_request) Failing after 1m11s
Rust Build / build (pull_request) Failing after 2m6s
Updated migrations
2025-04-05 00:02:37 -04:00

17 lines
458 B
SQL

-- Add migration script here
CREATE EXTENSION IF NOT EXISTS pgcrypto;
CREATE TABLE IF NOT EXISTS "user" (
id UUID PRIMARY KEY DEFAULT gen_random_uuid(),
username TEXT NOT NULL,
password TEXT NOT NULL,
email TEXT NOT NULL,
phone TEXT NOT NULL,
firstname TEXT NOT NULL,
lastname TEXT NOT NULL,
email_verified BOOL NOT NULL,
date_created TIMESTAMPTZ NULL DEFAULT NOW(),
status TEXT NOT NULL,
last_login TEXT NULL
);