mirror of
https://github.com/zulip/zulip.git
synced 2025-11-05 22:43:42 +00:00
[manual] Humbug testing databases now backed by postgres
Currently our test database is backed by sqlite; this commit moves us to using postgres for our all database needs. This, in conjunction with the patched django on github, allow us to have fewer hacks and more true-to-life tests. It also sets the stage for testing the bulk_create and schema search_path patches made to django. Developers will need to run: ./tools/postgres-init-test-db ./tools/do-destroy-rebuild-test-database this is assuming that they have already run: ./tools/postgres-init-db ./tools/do-destroy-rebuild-database at some point on this pg_cluster. (The ordering is important; it will other- wise complain about the south_migration table). (imported from commit c56c6f27e13df7ae10b2e643e65d669dde61af3d)
This commit is contained in:
4
tools/postgres-init-test-db
Executable file
4
tools/postgres-init-test-db
Executable file
@@ -0,0 +1,4 @@
|
||||
#/bin/sh -xe
|
||||
|
||||
$(dirname $0)/postgres-init-db humbug_test xxxxxxxxxxxx humbug_test humbug,public
|
||||
|
||||
Reference in New Issue
Block a user