~bouncepaw/betula

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch
1

[PATCH] Fix migration from empty database

Details
Message ID
<20231125213925.248503-1-root@goldstein.rs>
DKIM signature
missing
Download raw message
Patch: +1 -0
Previous version tried to apply 0->6->1..., which is wrong.
The right order is 0->6->7.

Fixes: https://todo.sr.ht/~bouncepaw/betula/93
---
 db/migrations.go | 1 +
 1 file changed, 1 insertion(+)

diff --git a/db/migrations.go b/db/migrations.go
index 59084a6..66ee912 100644
--- a/db/migrations.go
+++ b/db/migrations.go
@@ -81,6 +81,7 @@ func handleMigrations() {
	// DB was never populated! Let's write the latest schema we have.
	if !found {
		mustExec(schemaV6) // Up to 6
		curver = 6
		goto past6         // And newer
		return
	}
-- 
2.42.0
Details
Message ID
<28A1EBEE-9165-44AA-9144-7C86ABC78F22@ya.ru>
In-Reply-To
<20231125213925.248503-1-root@goldstein.rs> (view parent)
DKIM signature
missing
Download raw message
LGTM. Applied. Thanks!
Reply to thread Export thread (mbox)