docs/synopsis.md in table_sync-1.11.0 vs docs/synopsis.md in table_sync-1.12.0
- old
+ new
@@ -274,16 +274,17 @@
Types of events available:
`"tablesync.receive.update"`, `"tablesync.receive.destroy"`, `"tablesync.publish.update"`
and `"tablesync.publish.destroy"`.
-You have access to the payload, which contains `event`, `direction`, `table` and `count`.
+You have access to the payload, which contains `event`, `direction`, `table`, `schema` and `count`.
```
{
:event => :update, # one of update / destroy
:direction => :publish, # one of publish / receive
:table => "users",
+ :schema => "public",
:count => 1
}
```
See more at https://guides.rubyonrails.org/active_support_instrumentation.html