cockroachdb / cockroachdb/activerecord-cockroachdb-adapter

Support removing unique constraints

Aperta
#304 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
rails 7.1
Lingua principale
Ruby
Stelle
105
Fork
56
Merge medio
9h 5m
PR unite (30g)
3

Descrizione

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).

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.