mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 22:13:26 +00:00
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)
5 lines
97 B
Plaintext
Executable File
5 lines
97 B
Plaintext
Executable File
#/bin/sh -xe
|
|
|
|
$(dirname $0)/postgres-init-db humbug_test xxxxxxxxxxxx humbug_test humbug,public
|
|
|