aboutsummaryrefslogtreecommitdiffstats
path: root/db/schema.rb
diff options
context:
space:
mode:
authorFrancis Irving <francis@mysociety.org>2010-08-04 00:37:41 +0100
committerFrancis Irving <francis@mysociety.org>2010-08-04 00:37:41 +0100
commit47e9c70b6d70c7ffbbb5232b56c0463c68600c3f (patch)
tree7487e4753e6abc6075bce992a9d455d4d682087c /db/schema.rb
parentcbb1023f86be15a3ce7efc9b0e54e1725c9561cf (diff)
Allow multiple keys the same
Diffstat (limited to 'db/schema.rb')
-rw-r--r--db/schema.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/db/schema.rb b/db/schema.rb
index 7ac84dd30..c79ef31c9 100644
--- a/db/schema.rb
+++ b/db/schema.rb
@@ -9,7 +9,7 @@
#
# It's strongly recommended to check this file into your version control system.
-ActiveRecord::Schema.define(:version => 89) do
+ActiveRecord::Schema.define(:version => 90) do
create_table "acts_as_xapian_jobs", :force => true do |t|
t.string "model", :null => false
@@ -175,7 +175,7 @@ ActiveRecord::Schema.define(:version => 89) do
t.text "value"
end
- add_index "public_body_tags", ["name", "public_body_id"], :name => "index_public_body_tags_on_public_body_id_and_name", :unique => true
+ add_index "public_body_tags", ["name", "public_body_id", "value"], :name => "index_public_body_tags_on_public_body_id_and_name_and_value", :unique => true
add_index "public_body_tags", ["name"], :name => "index_public_body_tags_on_name"
create_table "public_body_versions", :force => true do |t|