[backend/database] Add warning to AddNoteThread migration that it may take a while
This commit is contained in:
parent
5a63787c39
commit
61bad29c54
1 changed files with 3 additions and 0 deletions
|
@ -14,6 +14,9 @@ namespace Iceshrimp.Backend.Core.Database.Migrations
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
protected override void Up(MigrationBuilder migrationBuilder)
|
protected override void Up(MigrationBuilder migrationBuilder)
|
||||||
{
|
{
|
||||||
|
Console.WriteLine("Recomputing note thread identifiers, please hang tight!");
|
||||||
|
Console.WriteLine("This may take a long time (15-30 minutes), especially if your database is unusually large or you're running low end hardware.");
|
||||||
|
|
||||||
migrationBuilder.CreateTable(
|
migrationBuilder.CreateTable(
|
||||||
name: "note_thread",
|
name: "note_thread",
|
||||||
columns: table => new
|
columns: table => new
|
||||||
|
|
Loading…
Add table
Reference in a new issue