mirror of
https://github.com/perstarkse/minne.git
synced 2026-05-30 11:20:46 +02:00
e3bb2935d0
Unify embedding config, build providers from system settings, and fail startup when index builds error or time out. Move Surreal assets under common/db so embeds exclude crate source, and read storage via streams.
4 lines
205 B
Plaintext
4 lines
205 B
Plaintext
-- Per-user deduplication: same SHA256 may exist for different users.
|
|
REMOVE INDEX IF EXISTS file_sha256_idx ON file;
|
|
DEFINE INDEX IF NOT EXISTS file_user_sha256_idx ON file FIELDS user_id, sha256 UNIQUE;
|