diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2018-08-19 18:27:48 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2018-08-19 18:27:48 -0700 |
commit | 42fa2a4d01d31922de2a61881860840f2bfa80f5 (patch) | |
tree | 07a2cb85835706d1a60d1c87d0953cc2e7368d95 /rust/migrations/2018-05-12-001226_init/up.sql | |
parent | bed06d8726a063e177ccd8a40554a799e0fdb1f1 (diff) | |
download | fatcat-42fa2a4d01d31922de2a61881860840f2bfa80f5.tar.gz fatcat-42fa2a4d01d31922de2a61881860840f2bfa80f5.zip |
add index on release_rev_abstract SHA1 column
Diffstat (limited to 'rust/migrations/2018-05-12-001226_init/up.sql')
-rw-r--r-- | rust/migrations/2018-05-12-001226_init/up.sql | 1 |
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(), |