Created
April 27, 2010 12:04
-
-
Save jacobSingh/380666 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 9d0cea740a38574359b229ba26fbdbd29b757bab Mon Sep 17 00:00:00 2001 | |
From: dries <dries> | |
Date: Fri, 9 Apr 2010 12:07:12 +0000 | |
Subject: [PATCH] - Patch #640880 by mr.baileys: upgrade path for making {image_styles()}.name column unique. | |
--- | |
modules/image/image.install | 4 ++-- | |
1 files changed, 2 insertions(+), 2 deletions(-) | |
diff --git a/modules/image/image.install b/modules/image/image.install | |
index 52289d0..9bd4b8b 100644 | |
--- a/modules/image/image.install | |
+++ b/modules/image/image.install | |
@@ -1,5 +1,5 @@ | |
<?php | |
-// $Id: image.install,v 1.7 2010/04/06 14:55:17 dries Exp $ | |
+// $Id: image.install,v 1.8 2010/04/09 12:07:12 dries Exp $ | |
/** | |
* @file | |
@@ -132,7 +132,7 @@ function image_update_7000() { | |
), | |
), | |
'primary key' => array('isid'), | |
- 'indexes' => array( | |
+ 'unique keys' => array( | |
'name' => array('name'), | |
), | |
); | |
-- | |
1.6.4+GitX |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Do we need to provide an upgrade path here? Will be a serious edge case if someone did this, but you never know...