docs: add new tutorial to knex rollback

Signed-off-by: Rogerio Angeliski <angeliski@hotmail.com>
This commit is contained in:
Rogerio Angeliski
2025-01-31 09:54:50 -03:00
parent 5af9a5c4a6
commit 10691ea92a
6 changed files with 67 additions and 0 deletions
+1
View File
@@ -168,5 +168,6 @@ We recommend you read [Setting up authentication](./authentication.md) next.
If you want to read more about the database configuration, here are some helpful links:
- [Configuring Plugin Databases](../../tutorials/configuring-plugin-databases.md#privileges)
- [Manual Knex Rollback](../../tutorials/manual-knex-rollback.md)
- [Read more about Knex](http://knexjs.org/), the database wrapper that we use.
- [Install `pgAdmin` 4](https://www.pgadmin.org/), a helpful tool for querying your database.
@@ -160,3 +160,7 @@ export GLOBAL_AGENT_NO_PROXY=${NO_PROXY}
export YARN_HTTP_PROXY=${HTTP_PROXY} # optional
export YARN_HTTPS_PROXY=${HTTPS_PROXY} # optional
```
## Rollback migrations
In some cases you could need to downgrade Backstage instance due to some problem or maybe because you are using a test environment to validate the new version of Backstage. You can check the [Manual Rollback using Knex](./manual-knex-rollback.md) guide to know how to rollback migrations using Knex.