mirror of
https://git.asonix.dog/asonix/pict-rs
synced 2024-12-22 03:11:24 +00:00
Update docs, dev.toml
This commit is contained in:
parent
d475723087
commit
5167fe331e
2 changed files with 4 additions and 6 deletions
6
dev.toml
6
dev.toml
|
@ -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'
|
||||
|
|
|
@ -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);
|
||||
```
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue