diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2018-08-19 16:45:51 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2018-08-19 16:45:51 -0700 |
commit | bed06d8726a063e177ccd8a40554a799e0fdb1f1 (patch) | |
tree | ce4d5b7fbb7cfdeeca2b2856a51900739ab27c03 /rust | |
parent | 21fd7bd5d15850da942991bcdb7c00c3332231cc (diff) | |
download | fatcat-bed06d8726a063e177ccd8a40554a799e0fdb1f1.tar.gz fatcat-bed06d8726a063e177ccd8a40554a799e0fdb1f1.zip |
add index on file_rev_url file_rev
Diffstat (limited to 'rust')
-rw-r--r-- | rust/migrations/2018-05-12-001226_init/up.sql | 2 |
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 960623a3..a1de656d 100644 --- a/rust/migrations/2018-05-12-001226_init/up.sql +++ b/rust/migrations/2018-05-12-001226_init/up.sql @@ -145,6 +145,8 @@ CREATE TABLE file_rev_url ( url TEXT NOT NULL ); +CREATE INDEX file_rev_url_rev_idx ON file_rev_url(file_rev); + CREATE TABLE file_ident ( id UUID PRIMARY KEY DEFAULT uuid_generate_v4(), is_live BOOL NOT NULL DEFAULT false, |