Skip to content

Commit

Permalink
fix: fix database definition link. (#92)
Browse files Browse the repository at this point in the history
  • Loading branch information
SandPod authored Apr 17, 2024
1 parent a612747 commit d3e6ee1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/06-deployments/02-deploying-to-gce-terraform.md
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ Now, you can connect to your database. Use your favorite database managing tool

![Connect to database](/img/gcp/11-connect-database.jpg)

Once connected, run the database queries found in `generated/tables-serverpod.pgsql` and in `generated/tables.pgsql`. When you have added the tables for the database, Serverpod should be able to start. However, it could take an hour before the correct SSL certificates are created and validated.
Once connected, run the database definition query in the latest migration directory `migrations/<LATEST_MIGRATION>/definition.sql`. When you have added the tables for the database, Serverpod should be able to start. However, it could take an hour before the correct SSL certificates are created and validated.

## Deploying new versions
Once your infrastructure is set up, deploying new versions of your server code is easy. Push your updated code to Github and run the deployment action. Doing this will compile your code and upload it to the repository in Artifact Registry.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ Now, you can connect to your database. Use your favorite database managing tool

![Connect to database](/img/gcp/11-connect-database.jpg)

Once connected, run the database queries found in `generated/tables-serverpod.pgsql` and in `generated/tables.pgsql`. When you have added the tables for the database, Serverpod should be able to start. However, it could take an hour before the correct SSL certificates are created and validated.
Once connected, run the database definition query in the latest migration directory `migrations/<LATEST_MIGRATION>/definition.sql`. When you have added the tables for the database, Serverpod should be able to start. However, it could take an hour before the correct SSL certificates are created and validated.

## Deploying new versions
Once your infrastructure is set up, deploying new versions of your server code is easy. Push your updated code to Github and run the deployment action. Doing this will compile your code and upload it to the repository in Artifact Registry.
Expand Down

0 comments on commit d3e6ee1

Please sign in to comment.