aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2018-08-19 18:27:48 -0700
committerBryan Newbold <bnewbold@robocracy.org>2018-08-19 18:27:48 -0700
commit42fa2a4d01d31922de2a61881860840f2bfa80f5 (patch)
tree07a2cb85835706d1a60d1c87d0953cc2e7368d95
parentbed06d8726a063e177ccd8a40554a799e0fdb1f1 (diff)
downloadfatcat-42fa2a4d01d31922de2a61881860840f2bfa80f5.tar.gz
fatcat-42fa2a4d01d31922de2a61881860840f2bfa80f5.zip
add index on release_rev_abstract SHA1 column
-rw-r--r--rust/migrations/2018-05-12-001226_init/up.sql1
1 files changed, 1 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 a1de656d..024273a7 100644
--- a/rust/migrations/2018-05-12-001226_init/up.sql
+++ b/rust/migrations/2018-05-12-001226_init/up.sql
@@ -212,6 +212,7 @@ CREATE TABLE release_rev_abstract (
);
CREATE INDEX release_rev_abstract_rev_idx ON release_rev_abstract(release_rev);
+CREATE INDEX release_rev_abstract_sha1_idx ON release_rev_abstract(abstract_sha1);
CREATE TABLE release_ident (
id UUID PRIMARY KEY DEFAULT uuid_generate_v4(),