Update docs, dev.toml

This commit is contained in:
asonix 2023-09-02 13:36:03 -05:00
parent d475723087
commit 5167fe331e
2 changed files with 4 additions and 6 deletions

View File

@ -59,10 +59,8 @@ crf_2160 = 15
crf_max = 12 crf_max = 12
[repo] [repo]
type = 'sled' type = 'postgres'
path = 'data/sled-repo-local' url = 'postgres://postgres:1234@localhost:5432/postgres'
cache_capacity = 67108864
export_path = "data/exports-local"
[store] [store]
type = 'filesystem' type = 'filesystem'

View File

@ -88,13 +88,13 @@ methods:
```sql ```sql
CREATE TABLE aliases ( CREATE TABLE aliases (
alias VARCHAR(30) PRIMARY KEY, alias VARCHAR(50) PRIMARY KEY,
hash BYTEA NOT NULL REFERENCES hashes(hash) ON DELETE CASCADE, hash BYTEA NOT NULL REFERENCES hashes(hash) ON DELETE CASCADE,
delete_token VARCHAR(30) NOT NULL delete_token VARCHAR(30) NOT NULL
); );
CREATE INDEX alias_hashes_index ON aliases (hash); CREATE INDEX aliases_hash_index ON aliases (hash);
``` ```