From 3d0c31763a08fd815cc01edf0dca463ccece1adc Mon Sep 17 00:00:00 2001 From: Geoff Munn Date: Thu, 27 May 2010 20:39:22 +0000 Subject: [PATCH] MINOR: error message clarification --- code/PostgreSQLDatabase.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/PostgreSQLDatabase.php b/code/PostgreSQLDatabase.php index 82438c3..f0e3d27 100644 --- a/code/PostgreSQLDatabase.php +++ b/code/PostgreSQLDatabase.php @@ -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