From 4a7948e7d62e8b1ea60bddac11f885b7ad10d88c Mon Sep 17 00:00:00 2001 From: ngouy Date: Thu, 17 Jun 2021 15:59:04 -0400 Subject: [PATCH] fix non rollbackable tenant migration (#1038) --- db/migrate/7_add_tenant_to_taggings.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db/migrate/7_add_tenant_to_taggings.rb b/db/migrate/7_add_tenant_to_taggings.rb index 173033dba..608bb35e4 100644 --- a/db/migrate/7_add_tenant_to_taggings.rb +++ b/db/migrate/7_add_tenant_to_taggings.rb @@ -10,7 +10,7 @@ def self.up end def self.down - remove_column :taggings, :tenant remove_index :taggings, :tenant + remove_column :taggings, :tenant end end