diff --git a/README.md b/README.md index e69c888..8932274 100644 --- a/README.md +++ b/README.md @@ -79,13 +79,16 @@ By default, the app will connect to stage database in Neon, but you can run it l #### How to deploy changes in the database +> [!CAUTION] +> This guide is outdated! The migration to Neon was very fast and I didn't have time to standarize the procedure. + 1. Make the changes in your code, testing them with the local database. 1. Run `pnpm db:generate` to generate the migrations. -1. Run `pnpm db:push` to upload the migrations to Neon stage branch. - - Only 1 branch can be pushed to Neon at a time, if there were contents from another change they will be overridden. This is because we use the Neon free tier. +1. Run `pnpm db:push` to upload the migrations to Planetscale stage branch. + - Only 1 branch can be pushed to Planetscale at a time, if there were contents from another change they will be overridden. This is because we use the Planetscale free tier. 1. Run the GitHub's CI after the stage database is updated, by pushing a commit or running it manually. - GitHub's CI is configured to run on stage database, so it will catch any error. -1. Right before merging the PR, go to Neon dashboard and create a deploy preview and deploy it. +1. Right before merging the PR, go to Planetscale dashboard and create a deploy preview and deploy it. 1. Merge the PR in GitHub. #### Access to other services