Zero-Row GuaranteeStructure-only SQL, Prisma & SQLAlchemy safety · pip install solunex-ssdo · Zero customer rows ever read.

Instant Schema & AI Flow Playground

Test any CREATE TABLE DDL without creating an account. Zero rows are ever read or stored.

INSTANT SCHEMA & AI FLOW PLAYGROUND · ZERO ROWS READ

Paste Your SQL Schema & Preview Deterministic Design Review

Test any CREATE TABLE DDL. SSDO categorizes tables, computes topological insert order, flags column level payload sinks while ignoring numeric token counters (tokens_in, tokens_out), and catches destructive ON DELETE cascades.

1. Input DDL (Structure Only)

CREATE TABLE users (
  id BIGINT PRIMARY KEY,
  email TEXT NOT NULL,
  deleted_at TIMESTAMP NULL
);

CREATE TABLE api_keys (
  id BIGINT PRIMARY KEY,
  user_id BIGINT REFERENCES users(id) ON DELETE RESTRICT,
  key_hash TEXT NOT NULL,
  revoked_at TIMESTAMP NULL
);

CREATE TABLE module_runs (
  id BIGINT PRIMARY KEY,
  user_id BIGINT REFERENCES users(id) ON DELETE CASCADE,
  api_key_id BIGINT REFERENCES api_keys(id) ON DELETE SET NULL,
  tokens_in INT NOT NULL DEFAULT 0,
  tokens_out INT NOT NULL DEFAULT 0,
  store_output BOOLEAN NOT NULL DEFAULT FALSE,
  input_meta JSONB,
  output_json JSONB,
  created_at TIMESTAMP
);

2. Deterministic Review & AI Map

SSDO AI Schema Map (Platform: saas, Zero-Row Structure Only):
Insert Order: users -> api_keys -> module_runs
Categories:
  - Identity & Access: users, api_keys
  - Audit & Execution Runs: module_runs
Column-Level Sensitivity & Payload Flags:
  - users.email (text): direct PII identifier (email address)
  - api_keys.key_hash (text): hashed access key
  - module_runs.input_meta (jsonb): metadata JSON structure — MEDIUM risk (or LOW if constrained by an application-level key whitelist)
  - module_runs.output_json (jsonb): unstructured JSON/text sink — HIGH risk unless constrained by application-level schema validation or disabled by an opt-in storage flag (Structural mitigation candidate detected in sibling column(s): store_output)
Architectural Design Review (Judgment Calls):
  - [HIGH] ON DELETE CASCADE on 'module_runs.user_id -> users' wipes historical records: Use ON DELETE RESTRICT and soft-delete on 'users'.
  - [MEDIUM] ON DELETE SET NULL on 'module_runs.api_key_id -> api_keys' drops attribution: Keep revoked records in 'api_keys' (revoked_at) with ON DELETE RESTRICT.

Open Live Interactive SQL Playground →   Start 14 Day Free Trial →