MINOR: error message clarification

This commit is contained in:
Geoff Munn 2010-05-27 20:39:22 +00:00
parent 133e6ff6ec
commit 3d0c31763a
1 changed files with 1 additions and 1 deletions

View File

@ -501,7 +501,7 @@ class PostgreSQLDatabase extends SS_Database {
// SET check constraint (The constraint HAS to be dropped)
if(!empty($matches[4])) {
$existing_constraint=$this->query("SELECT conname FROM pg_constraint WHERE conname='{$tableName}_{$colName}_check';")->value();
//If you run into constraint conflicts, here's how to reset it:
//If you run into constraint row violation conflicts, here's how to reset it:
//alter table "SiteTree" drop constraint "SiteTree_ClassName_check";
//update "SiteTree" set "ClassName"='NewValue' WHERE "ClassName"='OldValue';
//Repeat this for _Live and for _versions