arche / internal/store/migrate/sql/006_file_locks.sql

commit 154431fd
1-- Exclusive file locks for large-binary / lockable files (Perforce-style).
2-- owner format: "username@hostname"
3CREATE TABLE IF NOT EXISTS file_locks (
4    path        TEXT    PRIMARY KEY,
5    owner       TEXT    NOT NULL,
6    acquired_at INTEGER NOT NULL,
7    comment     TEXT    NOT NULL DEFAULT ''
8);