aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2018-08-18 01:16:14 -0700
committerBryan Newbold <bnewbold@robocracy.org>2018-08-18 01:16:14 -0700
commit21fd7bd5d15850da942991bcdb7c00c3332231cc (patch)
treedd912d5f96eec5e85c6b8c936cd4db43684ca75a
parent930c28e4e655966658190fa6c1ad118884ee34f6 (diff)
downloadfatcat-21fd7bd5d15850da942991bcdb7c00c3332231cc.tar.gz
fatcat-21fd7bd5d15850da942991bcdb7c00c3332231cc.zip
create index on release_rev_abstracts
-rw-r--r--rust/migrations/2018-05-12-001226_init/up.sql2
1 files changed, 2 insertions, 0 deletions
diff --git a/rust/migrations/2018-05-12-001226_init/up.sql b/rust/migrations/2018-05-12-001226_init/up.sql
index 783d2f94..960623a3 100644
--- a/rust/migrations/2018-05-12-001226_init/up.sql
+++ b/rust/migrations/2018-05-12-001226_init/up.sql
@@ -209,6 +209,8 @@ CREATE TABLE release_rev_abstract (
lang TEXT
);
+CREATE INDEX release_rev_abstract_rev_idx ON release_rev_abstract(release_rev);
+
CREATE TABLE release_ident (
id UUID PRIMARY KEY DEFAULT uuid_generate_v4(),
is_live BOOL NOT NULL DEFAULT false,