---
title: "Discussion on \"Stop Cursor from running prisma migrate reset on the wrong database\" | Hashnode"
description: "Discussion on \"Stop Cursor from running prisma migrate reset on the wrong database\". Here is the failure mode, step by step.\n\nYour migration history drifts. Someone edited an applied migration, or you ran db push to try something.\nYou ask the Cursor agent to fix it. It runs prisma mig"
url: "https://hashnode.com/posts/stop-cursor-from-running-prisma-migrate-reset-on-the-wrong-database/6ac79d571b4081cd567ad405"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Stop Cursor from running prisma migrate reset on the wrong database](https://labyrinthlab.hashnode.dev/stop-cursor-from-running-prisma-migrate-reset-on-the-wrong-database?utm_source=hashnode&utm_medium=feed)

Here is the failure mode, step by step. Your migration history drifts. Someone edited an applied migration, or you ran db push to try something. You ask the Cursor agent to fix it. It runs prisma mig

Oct 8 · 9 min read · labyrinthlab.hashnode.dev  
Updated Nov 7  
Read the article

-   [#cursor](https://hashnode.com/tag/cursor)
-   [#prisma](https://hashnode.com/tag/prisma)
-   [#database](https://hashnode.com/tag/database)
-   [#drizzle](https://hashnode.com/tag/drizzle)

## Written by

[labyrinthlab](https://hashnode.com/@labyrinthlab)

@labyrinthlab

  
[View profile](https://hashnode.com/@labyrinthlab)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
