Skip to main content

Draw Mode

In Draw Mode, the AI applies schema changes instantly as you chat — no approval step required.

When to use Draw Mode

Draw Mode is ideal when you want to:

  • Rapidly prototype a new schema from scratch
  • Make quick, confident adjustments
  • Iterate fast without interruption
  • Experiment with different schema designs

How Draw Mode works

  1. Toggle the mode switch to off (Draw Mode)
  2. Type your schema request in the chat
  3. The AI patches your schema immediately
  4. The ERD updates in real time
  5. A Schema Changes Banner appears at the top showing what changed

Schema Changes Banner

After any AI-generated schema change, a banner appears at the top of the ERD panel:

  • "Keep all" — dismiss the banner, accept all changes
  • "Undo all" — revert every change made in this response

This gives you a quick safety net even in Draw Mode.

Tips for Draw Mode

  • Be specific — "Add a slug field to posts, type varchar(255), unique, not null" gets better results than "add a slug"
  • Chain requests — "Add a comments table with user_id, post_id, body, and created_at, then add an index on post_id"
  • Reference existing tables — "Add a foreign key from orders to users via user_id"

Example session

You: Build an e-commerce schema with products, categories, and inventory
AI: [creates products, categories, inventory tables with relationships]

You: Add a price_history table to track product price changes over time
AI: [adds price_history with product_id, price, effective_date, created_at]

You: Make product SKU unique and not null
AI: [updates products.sku with UNIQUE and NOT NULL constraints]