mirror of
https://github.com/aljazceru/ditto.git
synced 2026-01-15 19:34:25 +01:00
pg migration: 3 days -> several hours
This commit is contained in:
@@ -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:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user