diff options
author | Přemysl Eric Janouch <p@janouch.name> | 2025-09-04 10:38:31 +0200 |
---|---|---|
committer | Přemysl Eric Janouch <p@janouch.name> | 2025-09-04 10:38:31 +0200 |
commit | d3a046d85dc91684951030741f55490735c624f4 (patch) | |
tree | d0a726584e76cfaf083f67fdfea62b314e6ada80 /acid.go | |
parent | 6622ea0e1cb22687791c26b60381b138cbbb8098 (diff) | |
download | acid-d3a046d85dc91684951030741f55490735c624f4.tar.gz acid-d3a046d85dc91684951030741f55490735c624f4.tar.xz acid-d3a046d85dc91684951030741f55490735c624f4.zip |
Avoid disaster with DB migrations
Diffstat (limited to 'acid.go')
-rw-r--r-- | acid.go | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1751,6 +1751,7 @@ func dbOpen(path string) error { `task`, `duration`, `INTEGER NOT NULL DEFAULT 0`); err != nil { return err } + fallthrough case 2: // The next migration goes here, remember to increment the number below. } |