Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Ticket #9800 (new enhancement)

Opened 1 year ago

Last modified 1 year ago

[PATCH] add template option for postgresql test database

Reported by: pythonic Assigned to: core
Priority: low Milestone: 2.x
Component: Railties Version: edge
Severity: minor Keywords: tiny
Cc:

Description

This patch adds -T (--template) createdb option for postgresql for test:purge task.

A postgresql superuser can create objects in the template database which the test environment database user does not have permission to create, but which are required for the application (and the tests).

This patch supports using a database besides "template1" (the default template database) for this purpose.

Attachments

add-template-option-for-postgresql-test-database.diff (1.1 kB) - added by pythonic on 10/06/07 11:32:24.

Change History

10/06/07 11:32:24 changed by pythonic

  • attachment add-template-option-for-postgresql-test-database.diff added.

10/06/07 11:32:56 changed by pythonic

  • type changed from defect to enhancement.

10/06/07 11:36:23 changed by pythonic

  • component changed from ActiveRecord to Railties.