We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6253ef0 commit 5defc3fCopy full SHA for 5defc3f
packages/opencode/src/index.ts
@@ -108,7 +108,8 @@ const cli = yargs(args)
108
args: process.argv.slice(2),
109
})
110
111
- const marker = path.join(Global.Path.data, "opencode.db")
+ // Use the database path as the marker to trigger migration if missing
112
+ const marker = Database.getChannelPath()
113
if (!(await Filesystem.exists(marker))) {
114
const tty = process.stderr.isTTY
115
process.stderr.write("Performing one time database migration, may take a few minutes..." + EOL)
0 commit comments