From ed71674c45e8355248fb2ae496bead79b739f984 Mon Sep 17 00:00:00 2001 From: Sam Date: Sat, 19 Dec 2015 10:30:05 +1100 Subject: [PATCH] FIX: missing unique index on category_users --- ...2200_add_unique_index_to_category_users.rb | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 db/migrate/20151218232200_add_unique_index_to_category_users.rb diff --git a/db/migrate/20151218232200_add_unique_index_to_category_users.rb b/db/migrate/20151218232200_add_unique_index_to_category_users.rb new file mode 100644 index 00000000000..74cfe3f4f1a --- /dev/null +++ b/db/migrate/20151218232200_add_unique_index_to_category_users.rb @@ -0,0 +1,21 @@ +class AddUniqueIndexToCategoryUsers < ActiveRecord::Migration + def up + execute <