aboutsummaryrefslogtreecommitdiffstats
path: root/rust/migrations/2018-05-12-001226_init/up.sql
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2018-12-27 00:42:56 -0800
committerBryan Newbold <bnewbold@robocracy.org>2018-12-27 00:42:56 -0800
commit3e591d8d7f64b1092f68737ebd464be69f7e2490 (patch)
tree18c443ca37348dde8814e7e6206a7a38b07bdc44 /rust/migrations/2018-05-12-001226_init/up.sql
parent534a42f619b8a7e3226ad7e67601bbaef6bd2f31 (diff)
downloadfatcat-3e591d8d7f64b1092f68737ebd464be69f7e2490.tar.gz
fatcat-3e591d8d7f64b1092f68737ebd464be69f7e2490.zip
sql: add index on editor username
Diffstat (limited to 'rust/migrations/2018-05-12-001226_init/up.sql')
-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 c6444b8e..28cf7f90 100644
--- a/rust/migrations/2018-05-12-001226_init/up.sql
+++ b/rust/migrations/2018-05-12-001226_init/up.sql
@@ -26,6 +26,7 @@ CREATE TABLE editor (
);
CREATE INDEX active_editgroup_idx ON editor(active_editgroup_id);
+CREATE INDEX editor_username_idx ON editor(username);
CREATE TABLE editgroup (
id UUID PRIMARY KEY DEFAULT uuid_generate_v4(),