Skip to content
Snippets Groups Projects
Commit 270d5e1c authored by AverageDood's avatar AverageDood
Browse files

modificados: content/en/docs/install/migrate.md

Fix markdown crimes

I may be silly
parent 65b8bd71
No related branches found
No related tags found
No related merge requests found
Pipeline #2355 failed with stages
in 12 seconds
......@@ -310,6 +310,7 @@ in fact, could be overwritten safely by a Sharkey migration.
Make sure you have a backup safely stored, and then delete the mentioned
migrations with the following queries:
```sql
DELETE FROM "migrations" WHERE "name" = 'IncreaseHostCharLimit1701118152149';
DELETE FROM "migrations" WHERE "name" = 'IncreaseOauthTokenRedirecturisLength1697286869039';
......@@ -324,9 +325,11 @@ Replace "iceshrimp_web" with the name of your container if you've changed it.
Now, navigate to the Iceshrimp directory, and inside of it, nagivate to `packages/backend`.
The command to run in order to revert the latest applies migration is
```
yarn run typeorm migration:revert -d built/ormconfig.js
```
You'll have to run it several times, until you see that `IceshrimpRepo1689965609061` has been reverted.
You're now back on the Firefish 1.0.2 database scheme.
Exit the shell and run `docker compose down web` to stop the Iceshrimp container.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment