arche / internal/store/migrate/sql/008_shelves.sql

commit a22ffc45
1-- Shelves: named WC snapshots stored without creating a commit.
2-- tree_id and base_commit_id are 32-byte BLAKE3 hashes stored as BLOB.
3CREATE TABLE IF NOT EXISTS shelves (
4    name           TEXT    PRIMARY KEY,
5    tree_id        BLOB    NOT NULL,
6    base_commit_id BLOB    NOT NULL,
7    created_at     INTEGER NOT NULL,
8    description    TEXT    NOT NULL DEFAULT ''
9);