Added index
This commit is contained in:
parent
fb38a1c1bf
commit
8b784aec93
4 changed files with 12 additions and 1 deletions
|
|
@ -2,6 +2,7 @@
|
|||
drop trigger insert_enforce_version_titles on versions;
|
||||
drop trigger update_enforce_version_titles on versions;
|
||||
drop function enforce_version_titles;
|
||||
drop index sections_shortname_index;
|
||||
|
||||
drop table versions cascade;
|
||||
drop table posts cascade;
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
||||
|
|
|
|||
Reference in a new issue