cockroachdb / cockroachdb/activerecord-cockroachdb-adapter

Refactor referential_integrity.rb (`#disable_referential_integrity`)

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

Descrizione

As https://github.com/cockroachdb/cockroach/issues/19444 is stale, we should put a bit more care in this method that might exist for a long time.

Currently:

- It is super slow
- It is made to work out of transactions, could work better within transactions (we might need an option)
- Some indexes are not properly deleted

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.