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
[repo]
type = 'sled'
path = 'data/sled-repo-local'
cache_capacity = 67108864
export_path = "data/exports-local"
type = 'postgres'
url = 'postgres://postgres:1234@localhost:5432/postgres'
[store]
type = 'filesystem'

View file

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