(self, index)
| 1163 | ) |
| 1164 | |
| 1165 | def _can_drop_index(self, index): |
| 1166 | effective_schema = self.connection.schema_for_object(index.table) |
| 1167 | if effective_schema: |
| 1168 | self.dialect.validate_identifier(effective_schema) |
| 1169 | return not self.checkfirst or self.dialect.has_index( |
| 1170 | self.connection, |
| 1171 | index.table.name, |
| 1172 | index.name, |
| 1173 | schema=effective_schema, |
| 1174 | ) |
| 1175 | |
| 1176 | def _can_drop_sequence(self, sequence): |
| 1177 | effective_schema = self.connection.schema_for_object(sequence) |
no test coverage detected