I'm trying to run some tests for a Django project and to do this Django creates a new database specific for running the tests.
In my case the main database is named 'kim' and Django creates a database 'test_kim' to run the tests on.
Since I have a CICharField in one of my models, I have to run this command after the database is created and before Django migrations run.
psql =# \c db_1
CREATE EXTENSION citext;
Now I'm wondering how I can run this command for the test database?