README.md in phobos_db_checkpoint-0.1.1 vs README.md in phobos_db_checkpoint-0.2.0

- old
+ new

@@ -87,9 +87,16 @@ exists phobos_01_create_events.rb ``` This command has no side effects, if the migration is already present it will ignore it. +You can generate new migrations using the command __migration__, example: + +```sh +phobos_db_checkpoint migration add-new-column + create db/migrate/20160904200449879052_add_new_column.rb +``` + ### <a name="handler"></a> Handler In order to use the database checkpointing, your handler should be changed to include `PhobosDBCheckpoint::Handler` instead of `Phobos::Handler`. Phobos DB Checkpoint handler uses the Phobos `around_consume` functionality, which means you need to implement a `#consume` method to handle the event. Since Phobos DB Checkpoint will only save acknowledged events, you need to return from `#consume` with an invocation to `#ack` with the __entity_id__ and __event_time__ of your event. Example: