explaingit

prisma/prisma1

Analysis updated 2026-06-24

16,400ScalaAudience · developerComplexity · 4/5LicenseSetup · hard

TLDR

Legacy Prisma 1 database toolkit, deprecated since September 2022. Provided type-safe client, schema migrations, and a visual admin for MySQL, Postgres, and MongoDB.

Mindmap

mindmap
  root((prisma1))
    Inputs
      Schema file
      Database connection
    Outputs
      Type-safe client
      Migrations
      Admin UI
    Use Cases
      Legacy maintenance
      GraphQL API backend
      Historical research
    Tech Stack
      Scala
      GraphQL
      MySQL
      Postgres
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Maintain an existing Prisma 1 backend that has not been migrated yet

USE CASE 2

Study how an early generated-client ORM was designed

USE CASE 3

Plan a migration from Prisma 1 to current Prisma

What is it built with?

ScalaGraphQLMySQLPostgreSQLMongoDB

How does it compare?

prisma/prisma1lichess-org/lilascala/scala
Stars16,40018,18414,450
LanguageScalaScalaScala
Setup difficultyhardhardhard
Complexity4/55/55/5
Audiencedeveloperdeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · hard Time to first run · 1day+

Deprecated since September 2022, no longer maintained, and only worth running for legacy migration work.

Apache 2.0 license. Use freely including commercially, keep the notice, and you get an explicit patent grant.

In plain English

This repository contains Prisma 1, an older version of the Prisma database toolkit that was deprecated on September 1, 2022. The README explicitly states that new users should use the current version of Prisma at prisma.io instead. Prisma 1 was designed to replace traditional ORMs (Object-Relational Mappers, tools that let you interact with a database using your programming language instead of raw SQL). It had three main capabilities: type-safe database access via an auto-generated client (meaning the code that queries your database was generated automatically from your data model, reducing the chance of bugs), declarative data modelling and migrations (you describe your data structure in a schema file and Prisma handles creating or updating database tables), and a visual admin interface for managing data in a browser. It was written in Scala and supported MySQL, PostgreSQL, and MongoDB as databases. It was primarily used for building GraphQL, REST, and gRPC APIs. Based on the description and topics, this appears to be the legacy Prisma 1 codebase. Since it is deprecated and no longer maintained, it is not recommended for use in new projects. If you are researching Prisma's history or maintaining an existing Prisma 1 application, this is the source repository. For anything new, the current Prisma (sometimes called Prisma 2 or just Prisma) is the actively maintained successor.

Copy-paste prompts

Prompt 1
Lay out a migration plan from Prisma 1 to current Prisma for a Node GraphQL backend
Prompt 2
Show me how the Prisma 1 datamodel maps to a current Prisma schema.prisma file
Prompt 3
Spin up a local Prisma 1 server with Docker to inspect an old project
Prompt 4
Explain why Prisma 1 was deprecated and which features moved to current Prisma

Frequently asked questions

What is prisma1?

Legacy Prisma 1 database toolkit, deprecated since September 2022. Provided type-safe client, schema migrations, and a visual admin for MySQL, Postgres, and MongoDB.

What language is prisma1 written in?

Mainly Scala. The stack also includes Scala, GraphQL, MySQL.

What license does prisma1 use?

Apache 2.0 license. Use freely including commercially, keep the notice, and you get an explicit patent grant.

How hard is prisma1 to set up?

Setup difficulty is rated hard, with roughly 1day+ to a first successful run.

Who is prisma1 for?

Mainly developer.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Scan in gitsafehub Deploy in gitdeployhub prisma on gitmyhub

Verify against the repo before relying on details.