(self, index)
| 931 | ) |
| 932 | |
| 933 | def _can_create_index(self, index): |
| 934 | effective_schema = self.connection.schema_for_object(index.table) |
| 935 | if effective_schema: |
| 936 | self.dialect.validate_identifier(effective_schema) |
| 937 | return not self.checkfirst or not self.dialect.has_index( |
| 938 | self.connection, |
| 939 | index.table.name, |
| 940 | index.name, |
| 941 | schema=effective_schema, |
| 942 | ) |
| 943 | |
| 944 | def _can_create_sequence(self, sequence): |
| 945 | effective_schema = self.connection.schema_for_object(sequence) |
no test coverage detected