unisonweb / unison

A friendly programming language from the future
https://unison-lang.org
Other
5.81k stars 271 forks source link

creating a new codebase shouldn't require a migration #2720

Closed aryairani closed 2 years ago

aryairani commented 2 years ago
arya@Halp rehash-codebase % stack exec unison -- --codebase-create /tmp/cc --no-base
I backed up your codebase to /tmp/cc/.unison/v2/unison.sqlite3.1638651932
Need: BranchE (ObjectId 1)
Done: BranchE (ObjectId 1)
Done: CausalE CausalHashId (HashId 1)
Finished migrating, initiating cleanup.

  I created a new codebase for you at /private/tmp/cc

  Now starting the Unison Codebase Manager (UCM)...
aryairani commented 2 years ago

Bump schema version in schema creation sql. "Line 6, assuming that's still line 6".