Schema Builder works best on a wider screen. You can still browse generated SQL on mobile.
SQL Schema Builder
Design tables visually — generates SQL, ORM code, ERD diagrams, and migration diffs.
TABLE
columntypePKNNUQdefaultCHECK expr
Custom ENUM Types
No ENUMs — add one to use it as a column type.
CREATE TABLE users ( id BIGSERIAL PRIMARY KEY, email TEXT NOT NULL UNIQUE CHECK (email LIKE '%@%'), created_at TIMESTAMPTZ NOT NULL DEFAULT NOW() );
PK = Primary KeyNN = Not NullUQ = UniqueCHECK = inline constraint expression