README.md in database_flusher-0.2.2 vs README.md in database_flusher-0.2.3

- old
+ new

@@ -9,17 +9,25 @@ * No monkey patching - uses `ActiveSupport::Notifications` and `Mongo::Monitoring::Global` to catch `INSERT` statements * Fast `:deletion` strategy that cleans only tables/collections where `INSERT` statements were performed * Faster `disable_referential_integrity` for PostgreSQL * Executes multiple `DELETE` statements as one query with ActiveRecord +* Supports only one database for each ORM ## Supported ORMs and strategies -| ORM | Deletion | Transaction | -|:-------------|:---------|:------------| -| ActiveRecord | Yes | Yes | -| Mongoid | Yes | No | +| ORM | Deletion | Transaction | +|:--------------------|:---------|:------------| +| ActiveRecord >= 4.2 | Yes | Yes | +| Mongoid >= 5.0 | Yes | No | +mysql2 needs `MULTI_STATEMENTS` flag to be set and requires active_record >= 5.0.0 + +```yaml +adapter: mysql2 +flags: + - MULTI_STATEMENTS +``` ## Installation Add this line to your application's Gemfile: