Content Deep Dive
Resetting Hasura migrations
Blog post from Hasura
Post Details
Company
Date Published
Author
Shahidh K Muhammed
Word Count
259
Language
English
Hacker News Points
-
Source URL
Summary
The text provides instructions on how to reset Hasura migrations. It involves deleting local migration files, truncating the migration history on the server, pulling schema and metadata from the server, creating new migration files, and verifying the status of the migration. This process can be used to squash all migration files into a single one by snapshotting the state of a server and adding it as a new migration.