---
title: "Provider-neutral schema loading pilot | VibeRaven"
description: "A schema can depend on services outside PostgreSQL. We tried loading selected Prisma and Drizzle projects into fresh databases."
canonical: "https://viberaven.dev/research/neutral-loading-pilot"
---

# 39 of 40 PostgreSQL schemas loaded in an isolated database

A schema can depend on services outside PostgreSQL. We tried loading selected Prisma and Drizzle projects into fresh databases.

[All studies](https://viberaven.dev/research)

## What we measured

### Complete schema loads

A complete load finished the selected migrations and left an application table in the catalog.

- Loaded fully: 39 of 40

- [Pilot load data](https://github.com/ohad6k/viberaven-research/blob/2d45c586d8d73b8913651894f4451b8071086daf/data/orm-loads-summary.csv)

### Median time to load

Timing covered all 40 attempts, including the failed one, from discovery and startup through migration application.

- Median: 1.821 seconds

- [Pilot load data](https://github.com/ohad6k/viberaven-research/blob/2d45c586d8d73b8913651894f4451b8071086daf/data/orm-loads-summary.csv)

### Request identity mappings in source

The source scan identified a request identity mapping in this subset of the pinned projects.

- Mapping found: 17 of 40

- [Pilot load data](https://github.com/ohad6k/viberaven-research/blob/2d45c586d8d73b8913651894f4451b8071086daf/data/orm-loads-summary.csv)

## Method

We selected public Next.js repositories at pinned commits with PostgreSQL and either Prisma or Drizzle evidence. Each attempt used a fresh PGlite database. It applied checked-in migrations or SQL generated from the selected ORM schema.

Timing included discovery, database startup, SQL generation where needed, and migration application. Source collection, tool installation, catalog inspection, and the identity scan took place outside the timed interval.

## Limits

The sample was selected for a particular database and application stack. One migration history depended on a provider-specific schema and failed. Complete loads reflect the chosen migrations and compatibility adaptations for this cohort.

A mapping observed in source describes how the application appears to obtain request identity. Request behavior, token validity, and cookie handling need separate checks under execution.

## What to check

Check whether the intended schema can be built from an empty database. Verify identity plumbing and provider-specific dependencies separately before interpreting the result as evidence about the app.

## Report and data

- [Study report](https://github.com/ohad6k/viberaven-research/blob/2d45c586d8d73b8913651894f4451b8071086daf/studies/neutral-loading-pilot/README.md)
- [Research repository on GitHub](https://github.com/ohad6k/viberaven-research)
- [Pilot load data](https://github.com/ohad6k/viberaven-research/blob/2d45c586d8d73b8913651894f4451b8071086daf/data/orm-loads-summary.csv)
- [Expanded provider-neutral schema loading](https://viberaven.dev/research/neutral-loading-expanded)

Source: https://viberaven.dev/research/neutral-loading-pilot

Run `npx viberaven`.
