[open-ils-commits] r772 - servres/branches/eg-schema-experiment/conifer (gfawcett)

svn at svn.open-ils.org svn at svn.open-ils.org
Mon Feb 8 21:21:11 EST 2010


Author: gfawcett
Date: 2010-02-08 21:21:10 -0500 (Mon, 08 Feb 2010)
New Revision: 772

Modified:
   servres/branches/eg-schema-experiment/conifer/settings.py
Log:
conifer/settings.py: putting public at the head of the schemas list

Since our backend derives the search_path from DATABASE_PG_SCHEMAS,
and since some of the utility tables in Django have no explicit
schema, a 'syncdb' action will create those tables in the first schema
in the list. Therefore, start with 'public', unless you have an
awesome reason why not to.

Modified: servres/branches/eg-schema-experiment/conifer/settings.py
===================================================================
--- servres/branches/eg-schema-experiment/conifer/settings.py	2010-02-09 01:00:15 UTC (rev 771)
+++ servres/branches/eg-schema-experiment/conifer/settings.py	2010-02-09 02:21:10 UTC (rev 772)
@@ -17,7 +17,7 @@
 MANAGERS = ADMINS
 
 DATABASE_ENGINE = 'conifer.evergreen.backends.postgresql_with_schemas'
-DATABASE_PG_SCHEMAS = ['actor','asset','config','permission','reserves']
+DATABASE_PG_SCHEMAS = ['public','actor','asset','config','permission','reserves']
 DATABASE_NAME = 'robin'             # Or path to database file if using sqlite3.
 DATABASE_USER = 'postgres'             # Not used with sqlite3.
 DATABASE_PASSWORD = 'XXX'         # Not used with sqlite3.



More information about the open-ils-commits mailing list