From c5dd22d7d27ca385579347dcc2815931ced22a22 Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Sat, 8 Mar 2008 01:57:05 +0000 Subject: [PATCH] added database indexes for AuthorID and PublisherID git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.2@50716 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- core/model/Versioned.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/model/Versioned.php b/core/model/Versioned.php index ace049780..7f2676f75 100755 --- a/core/model/Versioned.php +++ b/core/model/Versioned.php @@ -204,6 +204,8 @@ class Versioned extends DataObjectDecorator { 'RecordID_Version' => '(RecordID, Version)', 'RecordID' => true, 'Version' => true, + 'AuthorID' => true, + 'PublisherID' => true, ), (array)$indexes );