Added index

This commit is contained in:
Jef Roosens 2021-12-25 10:42:36 +01:00
parent fb38a1c1bf
commit 8b784aec93
Signed by: Jef Roosens
GPG key ID: 955C0660072F691F
4 changed files with 12 additions and 1 deletions

View file

@ -15,6 +15,8 @@ create table sections (
is_private boolean NOT NULL DEFAULT false
);
create index sections_shortname_index on sections(shortname);
create table posts (
id uuid DEFAULT gen_random_uuid() PRIMARY KEY,