hasura / hasura/graphql-engine

Add "This is a migration" in the "Edit row" UI tab

Open
#9,516 0 comments 6 reactions 0 assignees View on GitHub
k/enhancement t/product-platform
Dominant language
TypeScript
Stars
32.1k
Forks
3k
PR merge metrics
PR metrics pending

Description

### Is your proposal related to a problem?

I just lost a day of work by corrupting my local Hasura instance. I was modifying a table where the values are used as foreign keys in another table... and I thought that those changes would automatically be tracked because I could not spot any "This is a migration" checkbox in the UI.

### Describe the solution you'd like

Instead of having to manually create SQL query to modify sensitive data, Hasura could simply add a "This is a migration" in the "Edit row" UI tab.

### Describe alternatives you've considered

Create SQL queries manually.

Contributor guide

Open the contributing guide

Research direction

Start by locating the Edit row UI tab and the existing migration workflow. Trace how row edits are submitted and how migrations are represented, then confirm the intended checkbox behavior and test the complete flow from editing sensitive data to creating a migration.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
database, frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.