update build id to store version number

This commit is contained in:
2023-12-06 15:20:09 +00:00
parent 3c8fd36f7d
commit ccd3b8ffc5
8 changed files with 250 additions and 183 deletions
+1 -1
View File
@@ -137,7 +137,7 @@ const makeStore = ({ isServer }) => {
"watchedCases",
"form",
],
version: 3,
version: process.env.BUILD_ID_ENV,
storage: storage,
stateReconciler: autoMergeLevel2, // if needed, use a safer storage
migrate: createMigrate(migrations, { debug: true }),