cockroachdb / cockroachdb/activerecord-cockroachdb-adapter
Support removing unique constraints
Ouverte
rails 7.1
- Langage dominant
- Ruby
- Étoiles
- 105
- Forks
- 56
- Merge moyen
- 9 h 5 min
- PR mergées (30 j)
- 3
Description
As of now we have the following error message:
```
unimplemented: cannot drop UNIQUE constraint "uniq_rails_1e07660b77" using ALTER TABLE DROP CONSTRAINT, use DROP INDEX CASCADE instead
```
It seems that with a local version of the `#remove_constraint` method we could support it.
See excluded test `test_remove_unique_constraint_by_column` (as of writting, this exclusion is part of the rails 7.1 PR).
Guide de contribution
Ouvrir le guide de contribution
Évaluation
Cette issue n'a pas encore été évaluée.