mirror of
https://github.com/chylex/Discord-History-Tracker.git
synced 2024-11-24 20:42:46 +01:00
Compare commits
2 Commits
d3e1bb901c
...
5b7312109b
Author | SHA1 | Date | |
---|---|---|---|
5b7312109b | |||
9f1db9a662 |
@ -9,7 +9,7 @@ sealed class SqliteSchemaUpgradeTo9 : ISchemaUpgrade {
|
|||||||
await SqliteSchema.CreateMessageAttachmentsTable(conn);
|
await SqliteSchema.CreateMessageAttachmentsTable(conn);
|
||||||
|
|
||||||
await reporter.MainWork("Migrating message attachments...", 1, 3);
|
await reporter.MainWork("Migrating message attachments...", 1, 3);
|
||||||
await conn.ExecuteAsync("INSERT INTO message_attachments (message_id, attachment_id) SELECT message_id, attachment_id FROM attachments");
|
await conn.ExecuteAsync("INSERT INTO message_attachments (message_id, attachment_id) SELECT message_id, attachment_id FROM attachments a JOIN messages m USING (message_id)");
|
||||||
|
|
||||||
await reporter.MainWork("Applying schema changes...", 2, 3);
|
await reporter.MainWork("Applying schema changes...", 2, 3);
|
||||||
await conn.ExecuteAsync("DROP INDEX attachments_message_ix");
|
await conn.ExecuteAsync("DROP INDEX attachments_message_ix");
|
||||||
|
@ -8,5 +8,5 @@ using DHT.Utils;
|
|||||||
namespace DHT.Utils;
|
namespace DHT.Utils;
|
||||||
|
|
||||||
static class Version {
|
static class Version {
|
||||||
public const string Tag = "43.0.0.0";
|
public const string Tag = "43.1.0.0";
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user