Loading...
Visually design database tables for PostgreSQL, MySQL, and SQLite. Generate ready-to-use CREATE TABLE SQL.
CREATE TABLE IF NOT EXISTS "users" ( "id" UUID PRIMARY KEY DEFAULT gen_random_uuid(), "email" VARCHAR(255) NOT NULL UNIQUE, "created_at" TIMESTAMPTZ NOT NULL DEFAULT NOW() );
Dialect: Postgres
Tip: Use gen_random_uuid() for UUIDs and TIMESTAMPTZ for timezone-aware dates.
Was this tool helpful?