From 5167fe331e9e8fd1f153533bccb9747421dfcbe5 Mon Sep 17 00:00:00 2001 From: asonix Date: Sat, 2 Sep 2023 13:36:03 -0500 Subject: [PATCH] Update docs, dev.toml --- dev.toml | 6 ++---- docs/postgres-planning.md | 4 ++-- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/dev.toml b/dev.toml index 209af82f..ae326420 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 158ce69a..49b4d6f9 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); ```