Unverified Commit 93f04702 authored by gary rong's avatar gary rong Committed by GitHub

les/lespay/server: bump database version (#21571)

parent 8696dd39
...@@ -37,8 +37,13 @@ const ( ...@@ -37,8 +37,13 @@ const (
// nodeDBVersion is the version identifier of the node data in db // nodeDBVersion is the version identifier of the node data in db
// //
// Changelog: // Changelog:
// Version 0 => 1
// * Replace `lastTotal` with `meta` in positive balance: version 0=>1 // * Replace `lastTotal` with `meta` in positive balance: version 0=>1
nodeDBVersion = 1 //
// Version 1 => 2
// * Positive Balance and negative balance is changed:
// * Cumulative time is replaced with expiration
nodeDBVersion = 2
// dbCleanupCycle is the cycle of db for useless data cleanup // dbCleanupCycle is the cycle of db for useless data cleanup
dbCleanupCycle = time.Hour dbCleanupCycle = time.Hour
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment