module

Prostore::Steps

Class methods

requires_transaction?(step : Kind::Any, adapter : Adapter::Base | Nil = nil) : Bool

Whether this step kind must run inside a transaction.

AddIndex against an adapter that supports CREATE INDEX CONCURRENTLY returns false — Postgres requires that variant to run outside a transaction. Every other step is true because they're single DDL statements that benefit from atomic application.

Source

Nested types