Changes between Version 4 and Version 5 of PgSchemaPatch
- Timestamp:
- 05/29/06 00:20:11 (1 year ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
PgSchemaPatch
v4 v5 2 2 3 3 [[html(<div id="newsflash">)]] 4 * Wahoo! The PgSchemaPatch was accepted into trunk as of [T:changeset:3249 .3249]4 * Wahoo! The PgSchemaPatch was accepted into trunk as of [T:changeset:3249 3249] 5 5 [[html(</div>)]] 6 6 8 8 9 9 Patch provides the ability to use a schema for each trac site instead of a full database instance 10 11 More info can be found at: http://embassy.asylumware.com/projects/trac/wiki/Patches/Schema12 10 13 11 == Bugs/Feature Requests == 31 29 Simply apply the patch: 32 30 {{{ 33 cd path/to/trac/src/trac-0.9. 334 patch -p 1 < trac-0.9.3-schema.patch31 cd path/to/trac/src/trac-0.9.5 32 patch -p0 < pgschemapatch-0.9.5.patch 35 33 python setup.py install 36 34 }}} 37 35 38 Then when creating a new site, append the schema name to the PostgreSQL DB URI as in the example below:36 Then when creating a new site, append the schema name to the PostgreSQL DB URIs in the example below: 39 37 {{{ 40 38 trac-admin initenv new_proj postgres://myuser@localhost/mydb?schema=my_schema /var/svn/new_proj /usr/share/trac/templates