zulip/tools
Tim Abbott a1aae4a39f [South] [schema] Add an index on Userprofile.email.
We accidentally lost this when we did the User/UserProfile merge (this
commit also deletes the old code to add the auth_user index in
do-destroy-rebuild-database).

This below is mostly just notes for future reference, but when
deploying this change to staging, we should consider running the
following instead of using the migration directly:

CREATE UNIQUE INDEX CONCURRENTLY zephyr_userprofile_email_uniq ON zephyr_userprofile(email);
ALTER TABLE zephyr_userprofile ADD CONSTRAINT zephyr_userprofile_email_uniq UNIQUE USING INDEX zephyr_userprofile_email_uniq;
CREATE INDEX CONCURRENTLY zephyr_userprofile_email ON zephyr_userprofile(email);

But I think it might be the case that it's fine to just run it
directly, since the ALTER TABLE part seems to hang if there's an open
transaction working on a UserProfile object anyway.

(imported from commit 1bf34ce242de51e97c91c8bab86b6b273e17fb43)
2013-04-04 15:45:42 -04:00
..
humbug_tools [manual] tools: Move check_output into a shared file 2013-02-20 16:02:30 -05:00
inject-messages Consistently use #!/usr/bin/env python 2013-02-20 16:02:30 -05:00
jslint Remove all inline event handlers 2013-04-04 11:34:32 -04:00
print-all puppet: Move all puppetized config files to the humbug module and reference them with puppet URLs 2013-02-08 16:06:34 -05:00
build-api-tarball Don't build non-send_message bindings. 2013-02-05 14:09:29 -05:00
check-all check-all: Ignore node_modules 2013-04-02 14:43:58 -04:00
clean-branches clean-branches: Print the abbrev SHA for of each deleted ref 2012-11-06 15:45:24 -05:00
clean-repo Add a tool for removing stale *.pyc files 2012-10-12 13:28:09 -04:00
deploy-branch deploy-branch: Check out original ref by name if possible 2013-03-27 14:15:03 -04:00
django-command-line [manual] *-command-line: Drop sh -e 2013-02-04 19:12:35 -05:00
django-template-graph django-template-graph: Replace slashes with newlines 2012-10-16 01:45:37 -04:00
do-destroy-rebuild-database [South] [schema] Add an index on Userprofile.email. 2013-04-04 15:45:42 -04:00
merge-messages-logs Consistently use #!/usr/bin/env python 2013-02-20 16:02:30 -05:00
msmtprc.example Add example msmtprc 2012-10-30 15:40:10 -04:00
munge_postgres_logs.pl Make munge_postgres_logs.pl executable 2013-01-29 12:16:32 -05:00
node Add a generic script to run the right Node binary 2013-02-20 16:02:30 -05:00
post-receive post-receive: Don't actually update servers on push to test-post-receive 2013-03-18 17:21:13 -04:00
postgres-init-db Give create db permissions to humbug postgres user 2013-03-12 12:51:12 -04:00
process-user-activity-command-line [manual] *-command-line: Drop sh -e 2013-02-04 19:12:35 -05:00
restart-server restart-server: Add some output on what's happening as we go. 2013-03-14 15:07:42 -04:00
review review: Send @username syntax rather than @username@humbughq.com 2013-02-05 15:51:22 -05:00
run-dev.py [manual] Add get_events URL routing 2013-03-28 16:48:52 -04:00
test-all test-all: Run frontend tests after backend tests. 2013-04-02 16:27:13 -04:00
test-backend test-backend: Don't pass --skip-generate to testing system by default. 2013-04-02 16:27:12 -04:00
tornado-command-line [manual] *-command-line: Drop sh -e 2013-02-04 19:12:35 -05:00
update-deployment [manual] tools: Move check_output into a shared file 2013-02-20 16:02:30 -05:00
update-prod-static Precompile Handlebars templates in production 2013-04-02 14:43:59 -04:00