mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 11:29:46 +00:00
pg migration: 3 days -> several hours
This commit is contained in:
parent
e743e14bb1
commit
c4064d0fa6
1 changed files with 1 additions and 2 deletions
|
|
@ -75,8 +75,7 @@ export async function up(db: Kysely<any>): Promise<void> {
|
|||
|
||||
let iid: number | undefined;
|
||||
const tid = setTimeout(() => {
|
||||
console.warn(`Recreating the database to improve performance.
|
||||
Depending on the size of your database, this could take a very long time, possibly days!
|
||||
console.warn(`Recreating the database to improve performance. This will take several hours.
|
||||
|
||||
If you don't want to wait, you can create a fresh database and then import your old events:
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue