Home / Companies / Nhost / Blog / Post Details
Content Deep Dive

Migrate from Nhost v1 to v2

Blog post from Nhost

Post Details
Company
Date Published
Author
Johan Eliasson
Word Count
447
Company Posts That Month
2
Language
English
Hacker News Points
-
Post removed?
No
Summary

Migrating a project from Nhost v1 to Nhost v2 involves several technical steps, including updating database schema and Hasura metadata, which require both automated and manual adjustments. The process starts with creating a new Nhost v2 app locally using the Nhost CLI and involves altering configuration files, exporting current migrations and metadata, and making specific changes to migration scripts and metadata files, such as modifying functions and deleting certain tables and references. After starting the updated Nhost app locally and ensuring that the new metadata is applied, users need to delete local migrations and metadata before updating the configuration once more to pull the correct migrations and metadata from the local instance. The final step in the migration process is transferring data from the v1 to the v2 project, which can be facilitated by using TransferGraph, a community tool designed to assist with data transfer tasks.

Trends Found in this Post

No tracked trend matches for this post yet.

Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.