Zulip 服务器和 Web 应用程序。开源团队聊天可帮助团队保持高效和专注。
Go to file
Zev Benjamin 88937655fd [manual] Add a ts_vector cache column on zephyr_message along with the appropriate trigger and index
This needs to be done in three South migrations to not block users
from sending messages for a long time.  Adding the column requires a
write lock on the zephyr_message table and populating the new column
takes a long time.  Thus, we can't do them both in the same
transaction (which South forces on migrations).  Additionally,
creating the index takes a lot of computation and needs to lock the
table when not done CONCURRENTLY, which can't be done inside of a
transaction.

To do this manual change, you need to run:
    python manage.py migrate zephyr 0007
    ssh postgres.humbughq.com 'echo "CREATE INDEX CONCURRENTLY zephyr_message_search_tsvector ON zephyr_message USING gin(search_tsvector);" | psql'
    python manage.py migrate zephyr 0008

on staging. No action is required on prod since the database is
shared.

Note that this migration must be done completely before we switch to
using the tsvector cache column.

(imported from commit b6a27013a60c1fd196eabb095d2d11d20bba5aac)
2013-02-06 12:09:49 -05:00
api Add a copy of our Trac integration (with example constants) to the API examples 2013-02-06 11:45:43 -05:00
bots Polish Humbug Trac bot for external distribution 2013-02-06 11:45:38 -05:00
certs Add wildcard certificate for *.e.humbughq.com. 2013-01-17 18:56:39 -05:00
confirmation confirmation: Make send_confirmation accept custom templates and context. 2013-01-14 10:25:26 -05:00
humbug Initial API documentation page. 2013-02-04 17:58:12 -05:00
servers puppet: Add supervisord configuration for feedback-bot. 2013-02-05 14:27:56 -05:00
templates Pass stream information in initial template. 2013-02-05 15:34:37 -05:00
tools review: Send @username syntax rather than @username@humbughq.com 2013-02-05 15:51:22 -05:00
zephyr [manual] Add a ts_vector cache column on zephyr_message along with the appropriate trigger and index 2013-02-06 12:09:49 -05:00
.gitignore [manual] Minify JavaScript and CSS in production 2013-01-31 15:41:01 -05:00
manage.py chmod +x manage.py 2012-10-25 15:22:18 -04:00