diff --git a/dev.toml b/dev.toml index 209af82..ae32642 100644 --- a/dev.toml +++ b/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' diff --git a/docs/postgres-planning.md b/docs/postgres-planning.md index 158ce69..49b4d6f 100644 --- a/docs/postgres-planning.md +++ b/docs/postgres-planning.md @@ -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); ```