Prisma issue (Nov 30): Prisma SQLite db pull Treats Expression Defaults as String Literals
Is it fixed? Not yet.
Ongoing since Nov 30, 12:53 UTC. First reported Nov 30, 12:53 UTC. Not on the vendor’s status page yet.
What happened
Prisma 7.10.1 `db pull` incorrectly reads parenthesized SQLite default expressions (such as `DEFAULT (datetime('now'))`) as string literals, resulting in schemas that store the literal text rather than evaluating the expression. This affects database generation for new environments, test databases, and shadow databases.
What caused it?
Under active investigation. No report has identified a root cause yet.
No verified workaround yet
None of the linked reports describe a mitigation. This page updates when one appears.
Official fixOutage timeline
- Investigating(current)
- Workaround available(upcoming)
- Resolved(upcoming)
- First report on GitHub issue
SQLite: `db pull` turns expression defaults such as `(datetime('now'))` into string defaults, so databases created from the pulled schema store the literal text
Source
Reports of this outage
1 report · 1 GitHubShow
- [1]GitHub First reportSQLite: `db pull` turns expression defaults such as `(datetime('now'))` into string defaults, so databases created from the pulled schema store the literal text(opens GitHub issue in a new tab)
Package and version prisma@7.10.1 What happened? prisma db pull reads a parenthesised SQLite default expression as a string literal. For example, DEFAULT (datetime('now')), the usual way to default a timestamp in SQLite, becomes @default("datetime('now')"). Any database created from the pulled schema then stores the text datetime('now') instead of the current time: a new environment; a test database; the shadow database. prisma migrate diff between the original database and its own pulled…
by adcode9158 0upvotes 1comments
Prisma issue FAQ
What happened in the Prisma issue, and why?
Ongoing since Nov 30, 12:53 UTC. No cause has been published yet; this page adds it once the vendor or a report explains it.
What is affected by the Prisma issue?
Prisma (versions: 7.10.1).
When did the Prisma issue start and end?
It started Nov 30, 12:53 UTC and is still ongoing (23 h 6 min so far). This page updates as it develops.
How do I get alerts for Prisma?
Subscribe to the Prisma RSS feed for every new Prisma incident, or connect an AI assistant to WhatBrokeToday over MCP and ask whether Prisma is down. Prisma feed
Where does this information come from?
WhatBrokeToday collects public status pages, developer community reports and security advisories, groups the ones about the same problem, and links every report under Evidence on this page. This one has 1 report from 1 independent source.