Skip to content

Commit 6f40db1

Browse files
committed
temp: try removing debugging stuff
1 parent 83216bb commit 6f40db1

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

lib/active_record/connection_adapters/cockroachdb/schema_statements.rb

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -114,12 +114,12 @@ def schema_names
114114

115115
def add_index(table_name, column_name, **options)
116116
super
117-
rescue ActiveRecord::StatementInvalid => error
118-
if debugging? && error.cause.class == PG::FeatureNotSupported
119-
warn "#{error}\n\nThis error will be ignored and the index will not be created.\n\n"
120-
else
121-
raise error
122-
end
117+
# rescue ActiveRecord::StatementInvalid => error
118+
# if debugging? && error.cause.class == PG::FeatureNotSupported
119+
# warn "#{error}\n\nThis error will be ignored and the index will not be created.\n\n"
120+
# else
121+
# raise error
122+
# end
123123
end
124124

125125
# ActiveRecord allows for tables to exist without primary keys.

0 commit comments

Comments
 (0)