From 31fef1a55d0601235a129b56651cffeead081cc1 Mon Sep 17 00:00:00 2001 From: Raphael Sofaer <raphael@joindiaspora.com> Date: Fri, 11 Feb 2011 14:43:11 -0800 Subject: [PATCH] typo in table name --- db/migrate/20110211204804_unique_index_post_visibilities.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db/migrate/20110211204804_unique_index_post_visibilities.rb b/db/migrate/20110211204804_unique_index_post_visibilities.rb index 5eb1bcec4d..2d2bbebc96 100644 --- a/db/migrate/20110211204804_unique_index_post_visibilities.rb +++ b/db/migrate/20110211204804_unique_index_post_visibilities.rb @@ -20,7 +20,7 @@ class UniqueIndexPostVisibilities < ActiveRecord::Migration pv_ids.pop undesired_ids.concat(pv_ids) end - execute("DELETE FROM `post_visibilities` WHERE `post_visibiilties`.id IN (#{undesired_ids.join(",")});") unless undesired_ids.empty? + execute("DELETE FROM `post_visibilities` WHERE `post_visibilities`.id IN (#{undesired_ids.join(",")});") unless undesired_ids.empty? remove_index :post_visibilities, [:aspect_id, :post_id] -- GitLab